menu-policy.text.gz \
policy-process.text.gz policy-process.pdf.gz \
proposal.text.gz menu-policy.pdf.gz proposal.pdf.gz \
- mime-policy.text.gz mime-policy.pdf.gz
+ mime-policy.text.gz mime-policy.pdf.gz \
+ debconf_spec/debconf_specification.html \
+ debconf_spec/debconf_specification.txt.gz \
+
STAMPS_TO_CLEAN = stamp-policy stamp-build stamp-configure
DIRS_TO_CLEAN = debian/tmp policy.html fhs \
menu-policy.html mime-policy.html \
# And with version 2.1, we have to build the text and dvi versions
# ourselves :-(
FHS_ARCHIVE =fhs-2.1-source.tar.gz
-FHS_FILES =fhs/fhs.dvi fhs/fhs.ps fhs/fhs.txt fhs/fhs.pdf
+FHS_FILES = fhs/fhs.ps fhs/fhs.txt fhs/fhs.pdf
FSSTND_FILES =FSSTND-FAQ fsstnd-1.2.dvi.gz fsstnd-1.2.ps.gz fsstnd-1.2.txt.gz
POLICY_FILES =policy.text.gz policy.sgml virtual-package-names-list.text \
upgrading-checklist.text libc6-migration.text \
version.ent proposal.sgml proposal.text.gz \
menu-policy.sgml menu-policy.text.gz \
mime-policy.sgml mime-policy.text.gz \
- policy-process.text.gz policy-process.sgml
+ policy-process.text.gz policy-process.sgml \
+ debconf_spec/debconf_specification.html \
+ debconf_spec/debconf_specification.txt.gz
BYHAND_FILES =policy.text.gz libc6-migration.text \
virtual-package-names-list.text menu-policy.text.gz \
- mime-policy.text.gz
+ mime-policy.text.gz policy.ps.gz policy.pdf.gz \
+ policy.html.tar.gz \
+ debconf_spec/debconf_specification.txt.gz
install_file = /usr/bin/install -p -o root -g root -m 644
cd fhs && patch -p1 < ../mm1.32-patch; \
fi
# The extra '.' in the tmac path doesn't matter if
- GROFF_TMAC_PATH=. cd fhs && $(MAKE) all
- lynx -dump fhs-changes-2.1.html > fhs/fhs-changes-2.1.text
- lynx -dump upgrading-checklist.html > upgrading-checklist.text
+ GROFF_TMAC_PATH=. cd fhs && $(MAKE) fhs.ps fhs.pdf fhs.txt
+ links -dump fhs-changes-2.1.html | perl -pe 's/[\r\0]//g' > \
+ fhs/fhs-changes-2.1.text
+ links -dump upgrading-checklist.html | perl -pe 's/[\r\0]//g' > \
+ upgrading-checklist.text
+ $(MAKE) -C debconf_spec all
+ gzip -9f debconf_spec/debconf_specification.txt
touch stamp-build
configure: stamp-configure
chmod -R go=rX debian/tmp
dpkg --build debian/tmp ..
debiandoc2latexps policy.sgml
- mv policy.ps ../
- gzip -9qvf ../policy.ps
- debiandoc2latexpdf policy.sgml
- mv policy.pdf ../
- gzip -9qfv ../policy.pdf
- GZIP=-9v tar zcf ../policy.html.tar.gz policy.html
+ gzip -9qvf policy.ps
+ debiandoc2latexpdf policy.sgml
+ gzip -9qfv policy.pdf
+ GZIP=-9v tar zcf policy.html.tar.gz policy.html
$(install_file) version.ent $(DOCDIR)/
- dpkg-distaddfile -fdebian/files policy.ps.gz byhand -
- dpkg-distaddfile -fdebian/files policy.pdf.gz byhand -
- dpkg-distaddfile -fdebian/files policy.html.tar.gz byhand -
- for i in $(BYHAND_FILES); do \
- $(install_file) $$i .. ; \
- dpkg-distaddfile -fdebian/files $$i byhand - ; \
+ for i in $(BYHAND_FILES); do \
+ $(install_file) $$i .. ; \
+ dpkg-distaddfile -fdebian/files `basename $$i` byhand - ; \
done
touch stamp-policy