add html output for the documentation (using tex4ht)

SVN-Revision: 6199
This commit is contained in:
Felix Fietkau 2007-01-25 13:15:57 +00:00
parent be8b2870e7
commit c449bfea52
2 changed files with 15 additions and 6 deletions

View File

@ -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 $(MAKE) cleanup
pdflatex openwrt.tex latex $(MAIN)
pdflatex openwrt.tex $(MAKE) openwrt.pdf openwrt.html
$(MAKE) cleanup $(MAKE) cleanup
openwrt.html: $(DEPS)
htlatex $(MAIN)
openwrt.pdf: $(DEPS)
pdflatex $(MAIN)
clean: cleanup clean: cleanup
rm -f openwrt.pdf rm -f openwrt.pdf openwrt.html openwrt.css
cleanup: FORCE cleanup: FORCE
rm -f *.log *.aux *.toc *.out rm -f *.log *.aux *.toc *.out *.lg *.dvi *.idv *.4ct *.4tc *.xref *.tmp *.dvi
FORCE: FORCE:

View File

@ -1,6 +1,6 @@
\documentclass[a4paper]{book} \documentclass[a4paper]{book}
\usepackage[latin9]{inputenc} \usepackage[latin9]{inputenc}
\usepackage[pdftex,bookmarks=true]{hyperref} \usepackage[bookmarks=true]{hyperref}
\usepackage[T1]{fontenc} \usepackage[T1]{fontenc}
\usepackage{ae,aecompl,aeguill} \usepackage{ae,aecompl,aeguill}
\usepackage{fancyvrb} \usepackage{fancyvrb}