mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 17:51:53 +00:00
35 lines
478 B
Makefile
35 lines
478 B
Makefile
# Makefile for bird documentation system
|
|
|
|
|
|
SHELL = /bin/sh
|
|
|
|
all: internals.html
|
|
# bird.html
|
|
|
|
clean:
|
|
rm *.html *.tex *.dvi *.log
|
|
|
|
%.html: %.sgml
|
|
./sgml2html $<
|
|
|
|
dnl INFO format:
|
|
|
|
%.info: %.sgml
|
|
sgml2info $<
|
|
|
|
dnl TXT format:
|
|
|
|
%.txt: %.sgml
|
|
sgml2txt $<
|
|
|
|
dnl LATEX format:
|
|
|
|
%.dvi: %.sgml
|
|
./sgml2latex $<
|
|
|
|
%.tex: %.sgml
|
|
./sgml2latex --output=tex $<
|
|
|
|
internals.html: ../filter/filter.c ../proto/rip/rip.c
|
|
kernel-doc -html ../filter/filter.c ../proto/rip/rip.c > internals.html
|