1 include ../Makefile.common
6 all: $(MANUAL).html $(MANUAL).pdf $(MANUAL).txt \
7 $(TSS).html $(TSS).pdf $(TSS).txt
10 $(INSTALL) -d $(docdir)
11 cp -rf *.html *.txt *.pdf $(MANUAL).html $(TSS).html z80 avr $(docdir)
17 $(MANUAL).html: $(MANUAL).tex $(MANUAL).ind ;#$(MANUAL).glo
19 latex2html -split 5 -show_section_numbers -dir $(MANUAL).html $(MANUAL)
21 $(TSS).html: $(TSS).tex
23 latex2html -split 0 -dir $(TSS).html $(TSS)
29 which pdflatex > /dev/null && pdflatex $* || dvipdf $*
38 makeindex -s l2hidx.ist $*
41 # the glossary, not implemented yet
42 # makeindex -s l2hglo.ist -o $@ $<
44 # Deleting all files created by building the program
45 # --------------------------------------------------
47 # The directories are still in CVS, so don't delete them
48 # rm -rf $(MANUAL).html $(TSS).html
49 rm -f $(MANUAL).html/* $(TSS).html/*
50 rm -f $(MANUAL).txt $(TSS).txt *.pdf *.dvi *.tex *.ind *.glo *.aux *.idx *.ilg *.log *.toc
52 # Deleting all files created by configuring or building the program
53 # -----------------------------------------------------------------
56 # Like clean but some files may still exist
57 # -----------------------------------------
60 # Deleting everything that can reconstructed by this Makefile. It deletes
61 # everything deleted by distclean plus files created by bison, etc.
62 # -----------------------------------------------------------------------