Author: srivasta
Date: 2005/02/04 23:44:52
Move the error unwind eaxmple out the item in the postinst script
usage section. Delete generated files in the clean target
(policy.{pdf,ps,tpt,txt} are generated files)
git-archimport-id: srivasta@debian.org--etch/debian-policy--devel--3.0--patch-279
* Bug fix: "debian-policy: please clarify section 12.7.", thanks to
Adrian Bunk. Added a clarifying footnote that makes it clear that
section 12.3 does not allow one to ignore section 12.7 (Closes: #276953).
* Bug fix: "debian-policy: please clarify section 12.7.", thanks to
Adrian Bunk. Added a clarifying footnote that makes it clear that
section 12.3 does not allow one to ignore section 12.7 (Closes: #276953).
+ *
+ * Bug fix: "debian-policy: should not ship generated files in source
+ archive, and should clean them from the tree", thanks to Branden
+ Robinson (Closes: #284967).
debconf_spec/debconf_specification.txt.gz \
policy.ps.gz policy.pdf.gz
debconf_spec/debconf_specification.txt.gz \
policy.ps.gz policy.pdf.gz
+# policy.{pdf,ps,tpt,txt} are generated files
FILES_TO_CLEAN = debian/files debian/buildinfo debian/substvars \
debian/postinst debian/prerm \
version.ent upgrading-checklist.txt \
$(SGML_FILES:=.txt.gz) $(SGML_FILES:=.html.tar.gz) \
policy.pdf.gz policy.ps.gz \
FILES_TO_CLEAN = debian/files debian/buildinfo debian/substvars \
debian/postinst debian/prerm \
version.ent upgrading-checklist.txt \
$(SGML_FILES:=.txt.gz) $(SGML_FILES:=.html.tar.gz) \
policy.pdf.gz policy.ps.gz \
- debconf_specification.xml.tar.gz
+ debconf_specification.xml.tar.gz \
+ policy.pdf policy.ps policy.txt policy.
STAMPS_TO_CLEAN := stamp-policy stamp-build
DIRS_TO_CLEAN := debian/tmp fhs $(SGML_FILES:=.html)
STAMPS_TO_CLEAN := stamp-policy stamp-build
DIRS_TO_CLEAN := debian/tmp fhs $(SGML_FILES:=.html)
Otherwise (i.e., the package was completely purged):
<example compact="compact">
<var>new-preinst</var> install
Otherwise (i.e., the package was completely purged):
<example compact="compact">
<var>new-preinst</var> install
- </example>
- Error unwind actions, respectively:
- <example compact="compact">
+ </item>
+ </enumlist>
+ </example>
+ Error unwind actions, respectively:
+ <example compact="compact">
<var>new-postrm</var> abort-upgrade <var>old-version</var>
<var>new-postrm</var> abort-install <var>old-version</var>
<var>new-postrm</var> abort-install
<var>new-postrm</var> abort-upgrade <var>old-version</var>
<var>new-postrm</var> abort-install <var>old-version</var>
<var>new-postrm</var> abort-install
- </example>
- </item>
- </enumlist>