e7066d12cf
'git ls-files --exclude=<pattern>' was changed (intentionally!) not to exclude anything files that are actually in the index. Since git ls-files by default simply lists the files in the index, this is a problem. Emulating this in shell went past the limits of what made sense, so move it to a simple external python script.
22 lines
544 B
Makefile
22 lines
544 B
Makefile
# Point to our macro directory and pick up user flags from the environment
|
|
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
|
|
|
|
SUBDIRS = data js src tests po man
|
|
|
|
EXTRA_DIST = \
|
|
.project \
|
|
.settings \
|
|
autogen.sh \
|
|
tools/check-for-missing.py
|
|
|
|
# These are files checked into Git that we don't want to distribute
|
|
DIST_EXCLUDE = \
|
|
.gitignore \
|
|
gnome-shell.doap \
|
|
MAINTAINERS \
|
|
tools/build/*
|
|
|
|
distcheck-hook:
|
|
@echo "Checking disted files against files in git"
|
|
@$(srcdir)/tools/check-for-missing.py $(srcdir) $(distdir) $(DIST_EXCLUDE)
|