[folks] build: Clean the .typelib file in clean rather than maintainer-clean



commit b70c45f4dd39ddcdf6c3ef9559f37776d1e8edde
Author: Philip Withnall <philip tecnocode co uk>
Date:   Wed Sep 14 23:54:25 2011 +0100

    build: Clean the .typelib file in clean rather than maintainer-clean
    
    It's built by `make` not the maintainer, so according to
    http://www.gnu.org/software/hello/manual/automake/Clean.html it should be
    cleaned by `make clean`.
    
    Also remove it from BUILT_SOURCES, since it doesn't belong there.

 folks/Makefile.am |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/folks/Makefile.am b/folks/Makefile.am
index abed273..ff6e391 100644
--- a/folks/Makefile.am
+++ b/folks/Makefile.am
@@ -115,6 +115,9 @@ GITIGNOREFILES = \
 	libfolks_la_vala.stamp \
 	$(NULL)
 
+CLEANFILES =
+MAINTAINERCLEANFILES =
+
 # We have to extract our own dlname from libfolks.la; see bgo#658002.
 # This is what g-ir-scanner does.
 libfolks_dlname = \
@@ -132,16 +135,15 @@ GIRS = Folks-$(API_VERSION).gir
 girdir = $(datadir)/gir-1.0
 dist_gir_DATA = $(GIRS)
 
+MAINTAINERCLEANFILES += $(dist_gir_DATA)
+
 typelibdir = $(libdir)/girepository-1.0
 nodist_typelib_DATA = $(GIRS:.gir=.typelib)
 
-BUILT_SOURCES += \
-	$(dist_gir_DATA) \
-	$(nodist_typelib_DATA) \
-	$(NULL)
+CLEANFILES += $(nodist_typelib_DATA)
 endif
 
-MAINTAINERCLEANFILES = \
+MAINTAINERCLEANFILES += \
 	$(BUILT_SOURCES) \
 	$(NULL)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]