mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
build: Add maintainer-check-extra-dist rule.
This is used by the maintainer to check for missing files in EXTRA_DIST.
This commit is contained in:
11
Makefile.am
11
Makefile.am
@@ -480,6 +480,17 @@ print-subdirs:
|
||||
maintainer-tag:
|
||||
git tag -a $(VERSION) -m "Version $(VERSION) ($(BRANCH_TYPE))" -f
|
||||
|
||||
# Maintainer only: check EXTRA_DIST rule is complete.
|
||||
# (Note you must have done 'make dist')
|
||||
|
||||
maintainer-check-extra-dist:
|
||||
zcat $(PACKAGE_NAME)-$(VERSION).tar.gz | tar tf - | sort | \
|
||||
sed 's,^$(PACKAGE_NAME)-$(VERSION)/,,' > tmp/tarfiles
|
||||
git ls-files | sort > tmp/gitfiles
|
||||
diff -ur tmp/tarfiles tmp/gitfiles | grep '^\+' | \
|
||||
grep -v src/api-support/[0-9]
|
||||
rm tmp/tarfiles tmp/gitfiles
|
||||
|
||||
# Provide help on common Makefile targets.
|
||||
|
||||
help:
|
||||
|
||||
Reference in New Issue
Block a user