Kill the manifest code.
It served its purpose for the monolith and is now dead.
This commit is contained in:
parent
331c032528
commit
844199da71
|
@ -196,7 +196,6 @@ xsfclean: cleanscripts unpatch
|
|||
rm -rf $(STAMP_DIR) $(SOURCE_DIR)
|
||||
rm -rf imports
|
||||
dh_clean debian/shlibs.local \
|
||||
debian/MANIFEST.$(ARCH) debian/MANIFEST.$(ARCH).new \
|
||||
debian/po/pothead
|
||||
|
||||
# Generate the debconf templates POT file header.
|
||||
|
@ -209,58 +208,6 @@ debian/po/pothead: debian/po/pothead.in
|
|||
updatepo: debian/po/pothead
|
||||
debian/scripts/debconf-updatepo --pot-header=pothead --verbose
|
||||
|
||||
# Use the MANIFEST files to determine whether we're shipping everything we
|
||||
# expect to ship, and not shipping anything we don't expect to ship.
|
||||
.PHONY: check-manifest
|
||||
stampdir_targets+=check-manifest
|
||||
check-manifest: $(STAMP_DIR)/check-manifest
|
||||
$(STAMP_DIR)/check-manifest: $(STAMP_DIR)/install
|
||||
# Compare manifests.
|
||||
(cd debian/tmp && find -type f | LC_ALL=C sort | cut -c3-) \
|
||||
>debian/MANIFEST.$(ARCH).new
|
||||
# Construct MANIFEST files from MANIFEST.$(ARCH).in and
|
||||
# MANIFEST.$(ARCH).all or MANIFEST.all.
|
||||
if expr "$(findstring -DBuildFonts=NO,$(IMAKE_DEFINES))" \
|
||||
: "-DBuildFonts=NO" >/dev/null 2>&1; then \
|
||||
LC_ALL=C sort -u debian/MANIFEST.$(ARCH).in >debian/MANIFEST.$(ARCH); \
|
||||
else \
|
||||
if [ -e debian/MANIFEST.$(ARCH).all ]; then \
|
||||
LC_ALL=C sort -u debian/MANIFEST.$(ARCH).in debian/MANIFEST.$(ARCH).all >debian/MANIFEST.$(ARCH); \
|
||||
else \
|
||||
LC_ALL=C sort -u debian/MANIFEST.$(ARCH).in debian/MANIFEST.all >debian/MANIFEST.$(ARCH); \
|
||||
fi; \
|
||||
fi
|
||||
# Confirm that the installed file list has not changed.
|
||||
if [ -e debian/MANIFEST.$(ARCH) ]; then \
|
||||
if ! cmp -s debian/MANIFEST.$(ARCH) debian/MANIFEST.$(ARCH).new; then \
|
||||
diff -U 0 debian/MANIFEST.$(ARCH) debian/MANIFEST.$(ARCH).new || DIFFSTATUS=$$?; \
|
||||
case $${DIFFSTATUS:-0} in \
|
||||
0) ;; \
|
||||
1) if [ -n "$$IGNORE_MANIFEST_CHANGES" ]; then \
|
||||
echo 'MANIFEST check failed; ignoring problem because \$$IGNORE_MANIFEST_CHANGES set' >&2; \
|
||||
echo 'Please ensure that the package maintainer has an up-to-date version of the' >&2; \
|
||||
echo 'MANIFEST.$(ARCH).in file.' >&2; \
|
||||
else \
|
||||
echo 'MANIFEST check failed; please see debian/README' >&2; \
|
||||
exit 1; \
|
||||
fi; \
|
||||
;; \
|
||||
*) echo "diff reported unexpected exit status $$DIFFSTATUS when performing MANIFEST check" >&2; \
|
||||
exit 1; \
|
||||
;; \
|
||||
esac; \
|
||||
fi; \
|
||||
fi
|
||||
>$@
|
||||
|
||||
# Because we build (and install) different files depending on whether or not
|
||||
# any architecture-independent packages are being created, the list of files we
|
||||
# expect to see will differ; see the discussion of the "build" target above.
|
||||
.PHONY: check-manifest-arch check-manifest-indep
|
||||
check-manifest-arch: IMAKE_DEFINES+= -DBuildSpecsDocs=NO -DBuildFonts=NO -DInstallHardcopyDocs=NO
|
||||
check-manifest-arch: check-manifest
|
||||
check-manifest-indep: check-manifest
|
||||
|
||||
# Remove files from the upstream source tree that we don't need, or which have
|
||||
# licensing problems. It must be run before creating the .orig.tar.gz.
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue