diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-01-25 13:15:57 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-01-25 13:15:57 +0000 |
commit | 4ff563f9ef0253edfef84745bede395cb84c6c1c (patch) | |
tree | 2c6d99fffa559c845f50633d419d26f8947a5def /docs/Makefile | |
parent | 2d7605d1b41eaaeb6be07dc4d3f52baa674cec64 (diff) |
add html output for the documentation (using tex4ht)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6199 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'docs/Makefile')
-rw-r--r-- | docs/Makefile | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/docs/Makefile b/docs/Makefile index 8c3ca646dd..359f4e6308 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -1,14 +1,23 @@ -openwrt.pdf: Makefile openwrt.tex config.tex network.tex network-scripts.tex network-scripts.tex wireless.tex build.tex adding.tex bugs.tex +MAIN = openwrt.tex +DEPS = $(MAIN) Makefile config.tex network.tex network-scripts.tex network-scripts.tex wireless.tex build.tex adding.tex bugs.tex + +all: $(MAKE) cleanup - pdflatex openwrt.tex - pdflatex openwrt.tex + latex $(MAIN) + $(MAKE) openwrt.pdf openwrt.html $(MAKE) cleanup + +openwrt.html: $(DEPS) + htlatex $(MAIN) + +openwrt.pdf: $(DEPS) + pdflatex $(MAIN) clean: cleanup - rm -f openwrt.pdf + rm -f openwrt.pdf openwrt.html openwrt.css cleanup: FORCE - rm -f *.log *.aux *.toc *.out + rm -f *.log *.aux *.toc *.out *.lg *.dvi *.idv *.4ct *.4tc *.xref *.tmp *.dvi FORCE: |