3 policy.sgml
: version.ent
4 menu-policy.sgml
: version.ent
5 mime-policy.sgml
: version.ent
6 perl-policy.sgml
: version.ent
8 ifneq (,$(strip $(HAVE_ORG_EMACS
)))
10 $(EMACS
) --batch
-Q
-l .
/README-css.el
-l org
-l org-ascii
--visit
$^ \
11 --funcall org-export-as-ascii
>/dev
/null
2>&1
12 test "$@" != "README.txt" || \
13 perl
-pli
-e
's,./Process.org,Process.txt,g' $@
15 $(EMACS
) --batch
-Q
-l .
/README-css.el
-l org
--visit
$^ \
16 --funcall org-export-as-html-batch
>/dev
/null
2>&1
22 %.html
/index.html
: %.sgml
23 LANG
=C debiandoc2html
$<
26 LANG
=C debiandoc2html
-1 -b
$*-1d
$< && \
27 mv
$*-1d.html
/index.html
$*-1.html
&& \
30 %.html.
tar.gz
: %.html
/index.html
31 tar -czf
$(<:/index.html
=.
tar.gz
) $(<:/index.html
=)
34 LANG
=C debiandoc2text
$<
40 LANG
=C debiandoc2latexps
$<
46 LANG
=C debiandoc2latexpdf
$<
51 # convenience aliases :)
52 html
: policy.html
/index.html
57 policy
: html txt ps pdf
59 leavealone
:= $(FHS_HTML
) $(FHS_FILES
) $(FHS_ARCHIVE
) \
64 rm -rf
$(filter-out $(leavealone
),$(wildcard *.html
))
65 rm -f
$(filter-out $(leavealone
),$(wildcard *.txt
*.txt.gz
*.html.
tar.gz
*.pdf
*.ps
))
66 rm -f
*.lout
* lout.li
*.sasp
* *.
tex *.aux
*.toc
*.idx
*.log
*.out
*.
dvi *.tpt
67 rm -f
`find . -name "*~" -o -name "*.bak" -o -name ".#*" -o -name core`
71 # if a rule bombs out, delete the target
73 # no default suffixes work here, don't waste time on them