2009-09-18 19:51:15 +00:00
|
|
|
SUBDIRS = data js src tests po
|
2008-10-31 04:22:44 +00:00
|
|
|
|
2009-03-10 16:53:03 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
.project \
|
2009-09-18 20:13:30 +00:00
|
|
|
.settings \
|
|
|
|
autogen.sh
|
|
|
|
|
|
|
|
# These are files checked into Git that we don't want to distribute
|
|
|
|
DIST_EXCLUDE = \
|
|
|
|
.gitignore \
|
|
|
|
gnome-shell.doap \
|
|
|
|
MAINTAINERS \
|
|
|
|
tools/build/*
|
2008-10-31 04:22:44 +00:00
|
|
|
|
2009-03-10 16:53:03 +00:00
|
|
|
distcheck-hook:
|
2009-09-18 20:13:30 +00:00
|
|
|
@echo "Checking disted files against files in git"
|
2009-03-10 16:53:03 +00:00
|
|
|
@failed=false; \
|
2009-09-18 20:13:30 +00:00
|
|
|
exclude=`(for p in $(DIST_EXCLUDE) ; do echo --exclude=$$p ; done)`; \
|
|
|
|
for f in `cd $(srcdir) && git ls-files $$exclude` ; do \
|
2009-03-10 16:53:03 +00:00
|
|
|
if ! test -e $(distdir)/$$f ; then \
|
|
|
|
echo File missing from distribution: $$f ; \
|
|
|
|
failed=true ; \
|
|
|
|
fi \
|
|
|
|
done ; \
|
|
|
|
if $$failed ; then \
|
|
|
|
exit 1 ; \
|
|
|
|
fi
|