- debiandoc2latexps -O policy.sgml | gzip -9v > ../policy.ps.gz
- debiandoc2latexpdf -O policy.sgml | gzip -9v > ../policy.pdf.gz
- GZIP=-9v tar zcf ../policy.html.tar.gz policy.html
- 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 - ; \
- done
- touch stamp-policy
-
-stamp-packaging: build
- @test root = "`whoami`" || (echo need root priviledges; exit 1)
- $(checkdir)
- test -f stamp-build || $(MAKE) -f debian/rules build
- -rm -rf $(PTMPTOP)
- $(make_directory) $(PTMPTOP)/DEBIAN
- $(make_directory) $(PDOCDIR)
- $(make_directory) $(PLIBDIR)
- echo "packaging-manual:Version=$(version)" > debian/substvars
-
- $(install_file) packaging.sgml $(PDOCDIR)/
- $(install_file) version.ent $(PDOCDIR)/
- $(install_file) debian/changelog $(PDOCDIR)/
- -gzip -fqr9 $(DOCDIR)
- $(install_file) packaging.text.gz $(PDOCDIR)/
- $(install_file) debian/copyright $(PDOCDIR)/
- $(install_file) packaging-manual.desc $(PLIBDIR)/packaging-manual
- (tar cf - packaging.html) | (cd $(PDOCDIR); tar xf -)
- $(install_program) debian/{postinst,prerm} debian/tmp-packaging/DEBIAN/
- dpkg-gencontrol -ppackaging-manual -Pdebian/tmp-packaging -isp
- chown -R root.root debian/tmp-packaging
- chmod -R go=rX debian/tmp-packaging
- dpkg --build debian/tmp-packaging ..
- debiandoc2latexps -O packaging.sgml | gzip -9f > ../packaging.ps.gz
- debiandoc2latexpdf -O packaging.sgml | gzip -9f > ../packaging.pdf.gz
- GZIP=-9v tar zcf ../packaging.html.tar.gz packaging.html
- dpkg-distaddfile -fdebian/files packaging.ps.gz byhand -
- dpkg-distaddfile -fdebian/files packaging.pdf.gz byhand -
- dpkg-distaddfile -fdebian/files packaging.html.tar.gz byhand -
- for i in $(PBYHAND_FILES); do \
- $(install_file) $$i .. ; \
- dpkg-distaddfile -fdebian/files $$i byhand - ; \