diff options
author | Martin Mares <mj@ucw.cz> | 2000-05-05 17:15:56 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-05-05 17:15:56 +0000 |
commit | b177724896b75159dbc8e203ac0e5a134229ae90 (patch) | |
tree | 4ff62df2354b09aad3fea8e420c6b8d35e0dc70f /doc/Makefile | |
parent | c7d7794bb9a71be58d06c6c9ea67943d3e33a566 (diff) |
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.
Diffstat (limited to 'doc/Makefile')
-rw-r--r-- | doc/Makefile | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/doc/Makefile b/doc/Makefile index fe263be5..f16de99a 100644 --- a/doc/Makefile +++ b/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 |