mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Connected the `doc' subtree to global makefiles.
All documentation is built in obj/doc (resp. doc/ if you do a stand-alone build). Use `make docs' to make the whole documentation or `make userdocs' resp. `make progdocs' for user manual resp. developer's guide.
This commit is contained in:
24
doc/Makefile
24
doc/Makefile
@@ -1,34 +1,28 @@
|
||||
# Makefile for bird documentation system
|
||||
root-rel=../
|
||||
dir-name=doc
|
||||
|
||||
include ../Rules
|
||||
|
||||
SHELL = /bin/sh
|
||||
progdocs:
|
||||
mkdir -p prog
|
||||
$(srcdir)/tools/progdoc $(srcdir_abs)
|
||||
|
||||
all: internals.html
|
||||
# bird.html
|
||||
|
||||
clean:
|
||||
rm *.html *.tex *.dvi *.log
|
||||
userdocs:
|
||||
|
||||
%.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
|
||||
clean:
|
||||
rm *.html *.tex *.dvi *.log
|
||||
|
Reference in New Issue
Block a user