Don't distribute built sources
authorStef Walter <stefw@gnome.org>
Tue, 3 Apr 2012 06:47:23 +0000 (08:47 +0200)
committerStef Walter <stefw@gnome.org>
Tue, 3 Apr 2012 06:54:02 +0000 (08:54 +0200)
 * This caused problems with gdbus-codegen generated files

https://bugzilla.gnome.org/show_bug.cgi?id=673110

gck/Makefile.am
gcr/Makefile.am

index 95c39f7..fa2f04c 100644 (file)
@@ -58,7 +58,9 @@ INTERNAL_FILES = \
 
 libgck_@GCK_MAJOR@_la_SOURCES = \
        $(PUBLIC_FILES) \
-       $(INTERNAL_FILES) \
+       $(INTERNAL_FILES)
+
+nodist_libgck_@GCK_MAJOR@_la_SOURCES = \
        $(BUILT_SOURCES)
 
 libgck_@GCK_MAJOR@_la_LDFLAGS = \
@@ -131,6 +133,9 @@ endif
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = gck-$(GCK_MAJOR).pc
 
+gck-$(GCK_MAJOR).pc: gck.pc
+       cp gck.pc gck-$(GCK_MAJOR).pc
+
 gck-expected.abi: gck.symbols
        $(AM_V_GEN) cpp -P $< | sort > $@
 
@@ -156,15 +161,10 @@ EXTRA_DIST = \
        pkcs11-trust-assertions.h \
        pkcs11i.h
 
-
 CLEANFILES = \
-       gck-actual.abi \
-       gck-expected.abi
-
-DISTCLEANFILES = \
        gck-$(GCK_MAJOR).pc \
        $(gir_DATA) \
-       $(typelibs_DATA)
-
-gck-$(GCK_MAJOR).pc: gck.pc
-       cp gck.pc gck-$(GCK_MAJOR).pc
+       $(typelibs_DATA) \
+       $(BUILT_SOURCES) \
+       gck-actual.abi \
+       gck-expected.abi
index 82cbaf4..4671581 100644 (file)
@@ -153,6 +153,9 @@ libgcr_base_@GCR_MAJOR@_la_SOURCES = \
        gcr-types.h \
        gcr-union-collection.c gcr-union-collection.h \
        gcr-util.c gcr-util.h \
+       $(NULL)
+
+nodist_libgcr_base_@GCR_MAJOR@_la_SOURCES = \
        $(BUILT_BASE_FILES)
 
 libgcr_@GCR_MAJOR@_la_SOURCES = \
@@ -193,6 +196,9 @@ libgcr_@GCR_MAJOR@_la_SOURCES = \
        gcr-viewer.c gcr-viewer.h \
        gcr-viewer-widget.c gcr-viewer-widget.h \
        gcr-viewer-window.c gcr-viewer-window.h \
+       $(NULL)
+
+nodist_libgcr_@GCR_MAJOR@_la_SOURCES = \
        $(BUILT_UI_FILES)
 
 libgcr_base_@GCR_MAJOR@_la_CFLAGS = \
@@ -414,15 +420,12 @@ EXTRA_DIST = \
        gcr-oids.list \
        gcr-mkoids \
        $(ui_DATA) \
-       $(conf_DATA) \
-       org.gnome.keyring.Prompter.xml \
+       $(DBUS_XML_DEFINITIONS) \
        gcr-enum-types.h.template \
        gcr-enum-types.c.template \
        gcr.symbols \
        gcr-base.symbols \
        $(desktop_in_in_files) \
-       $(desktop_in_files) \
-       $(desktop_DATA) \
        $(service_in_files) \
        $(mime_DATA)
 
@@ -432,14 +435,9 @@ CLEANFILES = \
        $(service_DATA) \
        $(desktop_in_files) \
        $(desktop_DATA) \
+       $(gir_DATA) \
+       $(typelibs_DATA) \
        gcr-actual.abi \
        gcr-actual-base.abi \
        gcr-expected.abi \
        gcr-expected-base.abi
-
-DISTCLEANFILES = \
-       $(desktop_in_files) \
-       $(desktop_DATA) \
-       $(pkgconfig_DATA) \
-       $(gir_DATA) \
-       $(typelibs_DATA)