2010-02-07 01:19:41 +00:00
|
|
|
# Point to our macro directory and pick up user flags from the environment
|
|
|
|
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
|
|
|
|
|
2010-02-07 02:51:53 +00:00
|
|
|
SUBDIRS = data js src tests po man
|
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
|