bird/doc/Makefile

35 lines
478 B
Makefile
Raw Normal View History

# 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