3 policy.sgml
: version.ent
4 menu-policy.sgml
: version.ent
5 perl-policy.sgml
: version.ent
8 $(EMACS
) --batch
-Q
-l .
/README-css.el
-l org
--visit
$^ \
9 --funcall org-ascii-export-to-ascii
10 test "$@" != "README.txt" || \
11 perl
-pli
-e
's,./Process.org,Process.txt,g' $@
13 $(EMACS
) --batch
-Q
-l .
/README-css.el
-l org
--visit
$^ \
14 --funcall org-html-export-to-html
17 onsgmls
-wall
-gues
$<
19 %.html
/index.html
: %.sgml
20 LANG
=C debiandoc2html
$<
23 LANG
=C debiandoc2html
-1 -b
$*-1d
$< && \
24 mv
$*-1d.html
/index.html
$*-1.html
&& \
27 %.html.
tar.gz
: %.html
/index.html
28 GZIP
=-n9
tar -czf
$(<:/index.html
=.
tar.gz
) $(<:/index.html
=)
31 LANG
=C debiandoc2text
$<
37 LANG
=C debiandoc2latexps
$<
43 LANG
=C debiandoc2latexpdf
$<
48 # This is a temporary hack to fold the upgrading-checklist into the Policy
49 # HTML directory so that it can be deployed alongside Policy on
50 # www.debian.org in a way that lets the cross-document links work properly.
51 # The correct solution is to make upgrading-checklist an appendix of Policy,
52 # which will probably be done as part of a general conversion to DocBook.
53 policy.html.
tar.gz
:: policy.html
/upgrading-checklist.html
54 policy.html
/upgrading-checklist.html
: upgrading-checklist-1.html \
55 policy.html
/index.html
58 # convenience aliases :)
59 html
: policy.html
/index.html
64 policy
: html txt ps pdf
66 leavealone
:= $(FHS_HTML
) $(FHS_FILES
) $(FHS_ARCHIVE
) \
71 rm -rf
$(filter-out $(leavealone
),$(wildcard *.html
))
72 rm -f
$(filter-out $(leavealone
),$(wildcard *.txt
*.txt.gz
*.html.
tar.gz
*.pdf
*.ps
))
73 rm -f
*.lout
* lout.li
*.sasp
* *.
tex *.aux
*.toc
*.idx
*.log
*.out
*.
dvi *.tpt
74 rm -f
`find . -name "*~" -o -name "*.bak" -o -name ".#*" -o -name core`
78 # if a rule bombs out, delete the target
80 # no default suffixes work here, don't waste time on them