- debconf_specification.xml.tar.gz
-
-STAMPS_TO_CLEAN = stamp-policy stamp-build
-DIRS_TO_CLEAN = debian/tmp fhs $(SGML_FILES:=.html)
-
-
-install_file = /usr/bin/install -p -o root -g root -m 644
-install_program= /usr/bin/install -p -o root -g root -m 755
-make_directory = /usr/bin/install -p -d -o root -g root -m 755
-
-
-all build: stamp-build
-stamp-build: version.ent
- $(checkdir)
- @set -ex; \
- for file in $(SGML_FILES); do \
- nsgmls -gues $$file.sgml; \
- debiandoc2html $$file.sgml; \
- debiandoc2text $$file.sgml; \
- if [ -f $$file.text ]; then mv $$file.text $$file.txt; fi; \
- gzip -f9 $$file.txt; \
- tar -cf $$file.html.tar $$file.html; \
- gzip -f9 $$file.html.tar; \
- done
- tar -zxf $(FHS_ARCHIVE)
- # Need to use a patched tmac.m macro file if we're using a pre-1.16
- # groff; version 1.16 is apparently fixed
- if dpkg --compare-versions "$(shell dpkg -s groff | sed -n -e 's/Version: //p')" lt 1.16; then \
- cp /usr/share/groff/tmac/tmac.m fhs && \
- cd fhs && patch -p1 < ../mm1.32-patch; \
- fi
- # The extra '.' in the tmac path won't harm if unnecessary
- GROFF_TMAC_PATH=. GROFF_NO_SGR=1 $(MAKE) -C fhs fhs.ps fhs.pdf fhs.txt
- links -dump fhs-changes-2.1.html | perl -pe 's/[\r\0]//g' > \
- fhs/fhs-changes-2.1.txt
- links -dump upgrading-checklist.html | perl -pe 's/[\r\0]//g' > \
- upgrading-checklist.txt
+ debconf_specification.xml.tar.gz \
+ policy.pdf policy.ps policy.txt policy. \
+ body.tmp head.tmp policy.tpt \
+ $(FILES_FROM_ORG)
+
+STAMPS_TO_CLEAN := stamp-policy stamp-build
+DIRS_TO_CLEAN := debian/tmp fhs $(SGML_FILES:=.html)
+
+
+install_file := install -p -o root -g root -m 644
+install_program := install -p -o root -g root -m 755
+make_directory := install -p -d -o root -g root -m 755
+
+
+all build build-indep: stamp-build
+build-arch:
+stamp-build: version.ent $(sanitycheck)
+ $(MAKE) $(SGML_FILES:=.sgml.validate) \
+ $(SGML_FILES:=.html.tar.gz) \
+ $(SGML_FILES:=-1.html) \
+ $(SGML_FILES:=.txt.gz) \
+ policy.ps.gz policy.pdf.gz
+ $(MAKE) $(FILES_FROM_ORG)
+ $(MAKE) -C copyright-format all