summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2011-03-15 10:34:24 -0400
committerDavid Zeuthen <davidz@redhat.com>2011-03-15 10:34:24 -0400
commit89bdcc7686c4ef5aeba6ef4bce1be2b5b5c79bce (patch)
treef744cf93549c56b61fe898ed02a01b1284fae6e5
parent81cb4740de3ac2a790f1c093eba5f064ced0a2a5 (diff)
Nuke generated D-Bus code from distribution tarballs
This avoids a nasty bug when using an older version of the dbus-glib library than the version that was used to generate the code. Credit goes to Tomáš Trnka <tomastrnka@gmx.com> for figuring this out in RH bug #673544 comment 15. See https://bugzilla.redhat.com/show_bug.cgi?id=673544 for more details Signed-off-by: David Zeuthen <davidz@redhat.com>
-rw-r--r--Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 588f05d..0c9037f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -29,5 +29,8 @@ DISTCHECK_CONFIGURE_FLAGS=--disable-man-pages --disable-gtk-doc
clean-local :
rm -f *~
+dist-hook:
+ -rm $(distdir)/src/*-glue.h $(distdir)/tools/*-glue.h
+
TESTS_ENVIRONMENT = sudo
TESTS = tests/run