2010-02-06 20:19:41 -05:00
|
|
|
# Point to our macro directory and pick up user flags from the environment
|
|
|
|
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
|
|
|
|
|
2010-02-06 21:51:53 -05:00
|
|
|
SUBDIRS = data js src tests po man
|
2008-10-31 00:22:44 -04:00
|
|
|
|
2009-03-10 12:53:03 -04:00
|
|
|
EXTRA_DIST = \
|
|
|
|
.project \
|
2009-09-18 16:13:30 -04: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 00:22:44 -04:00
|
|
|
|
2009-03-10 12:53:03 -04:00
|
|
|
distcheck-hook:
|
2009-09-18 16:13:30 -04:00
|
|
|
@echo "Checking disted files against files in git"
|
2009-03-10 12:53:03 -04:00
|
|
|
@failed=false; \
|
2009-09-18 16:13:30 -04: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 12:53:03 -04:00
|
|
|
if ! test -e $(distdir)/$$f ; then \
|
|
|
|
echo File missing from distribution: $$f ; \
|
|
|
|
failed=true ; \
|
|
|
|
fi \
|
|
|
|
done ; \
|
|
|
|
if $$failed ; then \
|
|
|
|
exit 1 ; \
|
|
|
|
fi
|