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 rm -rf $(MANUAL).html $(TSS).html
48 rm -f $(MANUAL).txt $(TSS).txt *.pdf *.dvi *.tex *.ind *.glo *.aux *.idx *.ilg *.log *.toc
50 # Deleting all files created by configuring or building the program
51 # -----------------------------------------------------------------
54 # Like clean but some files may still exist
55 # -----------------------------------------
58 # Deleting everything that can reconstructed by this Makefile. It deletes
59 # everything deleted by distclean plus files created by bison, etc.
60 # -----------------------------------------------------------------------