3 policy.sgml: version.ent
4 menu-policy.sgml: version.ent
5 mime-policy.sgml: version.ent
10 %.html/index.html: %.sgml
13 %.html.tar.gz: %.html/index.html
14 tar -czf $(<:/index.html=.tar.gz) $(<:/index.html=)
34 # convenience aliases :)
35 html: policy.html/index.html
39 policy: html txt ps pdf
41 leavealone := $(FHS_HTML) $(FHS_FILES) $(FHS_ARCHIVE) \
42 fhs-2.0.tar.gz fhs-changes-2.1.html \
43 fsstnd-1.2.txt.gz libc6-migration.txt \
44 upgrading-checklist.html virtual-package-names-list.txt
48 rm -rf $(filter-out $(leavealone),$(wildcard *.html))
49 rm -f $(filter-out $(leavealone),$(wildcard *.txt *.txt.gz *.html.tar.gz *.pdf *.ps))
50 rm -f *.lout* lout.li *.sasp* *.tex *.aux *.toc *.idx *.log *.out *.dvi
51 rm -f `find . -name "*~" -o -name "*.bak" -o -name ".#*" -o -name core`
55 # if a rule bombs out, delete the target
57 # no default suffixes work here, don't waste time on them