e5aa67421d
Use git ls-files not git-ls-files, since git-ls-files is no longer on the path with Git 1.6
19 lines
367 B
Makefile
19 lines
367 B
Makefile
SUBDIRS = data js src
|
|
|
|
EXTRA_DIST = \
|
|
.project \
|
|
.settings
|
|
|
|
distcheck-hook:
|
|
@echo "Checking disted javascript against files in git"
|
|
@failed=false; \
|
|
for f in `cd $(srcdir) && git ls-files js` ; do \
|
|
if ! test -e $(distdir)/$$f ; then \
|
|
echo File missing from distribution: $$f ; \
|
|
failed=true ; \
|
|
fi \
|
|
done ; \
|
|
if $$failed ; then \
|
|
exit 1 ; \
|
|
fi
|