nsgmls -wall -gues $<
%.html/index.html: %.sgml
- debiandoc2html $<
+ LANG=C debiandoc2html $<
%.html.tar.gz: %.html/index.html
tar -czf $(<:/index.html=.tar.gz) $(<:/index.html=)
%.txt: %.sgml
- debiandoc2text $<
+ LANG=C debiandoc2text $<
%.txt.gz: %.txt
gzip -cf9 $< > $@
%.ps: %.sgml
- debiandoc2latexps $<
+ LANG=C debiandoc2latexps $<
+
+%.ps.gz: %.ps
+ gzip -cf9 $< > $@
%.pdf: %.sgml
- debiandoc2latexpdf $<
+ LANG=C debiandoc2latexpdf $<
+
+%.pdf.gz: %.pdf
+ gzip -cf9 $< > $@
# convenience aliases :)
html: policy.html/index.html
policy: html txt ps pdf
leavealone := $(FHS_HTML) $(FHS_FILES) $(FHS_ARCHIVE) \
- fhs-2.0.tar.gz fhs-changes-2.1.html \
- fsstnd-1.2.txt.gz libc6-migration.txt \
+ libc6-migration.txt \
upgrading-checklist.html virtual-package-names-list.txt
.PHONY: distclean
distclean:
rm -rf $(filter-out $(leavealone),$(wildcard *.html))
rm -f $(filter-out $(leavealone),$(wildcard *.txt *.txt.gz *.html.tar.gz *.pdf *.ps))
- rm -f *.lout* lout.li *.sasp* *.tex *.aux *.toc *.idx *.log *.out *.dvi
+ rm -f *.lout* lout.li *.sasp* *.tex *.aux *.toc *.idx *.log *.out *.dvi *.tpt
rm -f `find . -name "*~" -o -name "*.bak" -o -name ".#*" -o -name core`
rm -f version.ent
rm -f *.rej *.orig