summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Reitter <travis.reitter@collabora.co.uk>2011-05-12 22:54:35 -0700
committerTravis Reitter <travis.reitter@collabora.co.uk>2011-05-12 22:54:35 -0700
commit07ce4077e62b4adbf3191249ddb355512cca5bde (patch)
treeaef817f1c3ac97c33d01fcd270de9d51d93d95ae
parente2f7b5916b566b81cf148b81c266cb95af436d47 (diff)
Allow generated source files to exist after distcleancheck.
It turns out to be nearly impossible to satisfy a standard distcleancheck with Vala and its automake support. This is specifically a work-around because there doesn't seem to be any obvious way to satisfy these requirements: * the release tarball can be built without gobject-introspection, valac, or vapigen * it's safe to run "make distclean" in the release tarball without suddenly requiring the tools listed above (due to generated files being removed) * "make distcheck" doesn't fail its "distcleancheck" phase due to the following files remaining after distclean: - tests/lib/telepathy/contactlist/tp-test-contactlist.gir - tests/lib/telepathy/contactlist/tp-test-contactlist.vapi - backends/telepathy/lib/tp-lowlevel.gir - backends/telepathy/lib/tp-lowlevel.vapi We've hit this last issue multiple times, and no fix seems to stick. So stripping out this check seems to be the best option (until we can remove the Vala/GObject-Introspection-free build requirement, when they've stabilized more and we don't depend upon the latest versions which may not be in all the major distros).
-rw-r--r--Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index d5de991..a0540d4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -54,6 +54,10 @@ distclean-local:
rm -f ChangeLog; \
fi
+distcleancheck_listfiles = \
+ find . -type f -exec sh -c 'test -f $(srcdir)/$$1 || echo $$1' \
+ sh '{}' ';'
+
ChangeLog:
@echo Creating $@
@if test -d "$(srcdir)/.git"; then \