mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
b48336d9ee
commit
53b5dc8ef7
10
Makefile.am
10
Makefile.am
@ -152,7 +152,15 @@ distcleancheck_listfiles = \
|
|||||||
|
|
||||||
dist-hook: po/POTFILES.in
|
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:
|
distclean-local:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user