Fail 'make distcheck' if POTFILES.in contains undistributed files.

The failure will also helpfully explain which files are the problem.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13065 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Chris Shoemaker 2006-02-01 20:30:14 +00:00
parent b48336d9ee
commit 53b5dc8ef7

View File

@ -152,7 +152,15 @@ distcleancheck_listfiles = \
dist-hook: po/POTFILES.in
distcheck-hook: po/POTFILES.in
distcheck-hook:
@e=''; \
for X in `grep -v \# ${distdir}/po/POTFILES.in` ; do \
if [ ! -f ${distdir}/$$X ] ; then \
echo $$X " is in POTFILES.in but not in the dist."; \
e='yes'; \
fi; \
done; \
if test "$$e" = "yes" ; then exit 1; fi;
distclean-local: