Make sure that the tarball has everything.
* Makefile.am (distcheck-hook): New target.
This commit is contained in:
parent
a4efd9359e
commit
eaf8b5da61
14
Makefile.am
14
Makefile.am
|
@ -368,6 +368,20 @@ gen-ChangeLog:
|
|||
rm -f $(distdir)/ChangeLog
|
||||
mv $(distdir)/ChangeLog-t $(distdir)/ChangeLog
|
||||
|
||||
distcheck-hook:
|
||||
set -e; \
|
||||
manifest=$(distdir)/.tarball-manifest; \
|
||||
test -f "$$manifest"; \
|
||||
for x in `cat "$$manifest"`; \
|
||||
do \
|
||||
if ! test -f $(distdir)/"$$x" \
|
||||
&& ! test "$$x" = .gitignore; \
|
||||
then \
|
||||
echo "Missing: $$x"; \
|
||||
exit 1; \
|
||||
fi; \
|
||||
done
|
||||
|
||||
# Cleaning
|
||||
##########
|
||||
|
||||
|
|
Loading…
Reference in New Issue