[tracker] libtracker-control: remove generated vapi/deps files on distclean



commit f9ab05df84f14ed863719bcf57ceadaff623eeef
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu Feb 20 15:18:45 2014 +0100

    libtracker-control: remove generated vapi/deps files on distclean

 src/libtracker-control/Makefile.am |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-control/Makefile.am b/src/libtracker-control/Makefile.am
index 1a59774..8d74ad7 100644
--- a/src/libtracker-control/Makefile.am
+++ b/src/libtracker-control/Makefile.am
@@ -48,6 +48,11 @@ tracker-control-$(TRACKER_API_VERSION).vapi: tracker-control.vapi
 tracker-control-$(TRACKER_API_VERSION).deps: tracker-control.deps
        cp $< $@
 
+BUILT_SOURCES =                                        \
+       $(vapi_DATA)
+
+CLEANFILES = $(BUILT_SOURCES)
+
 EXTRA_DIST =                                           \
        tracker-control.vapi                           \
        tracker-control.deps
@@ -83,5 +88,5 @@ gir_DATA = $(INTROSPECTION_GIRS)
 typelibdir = $(libdir)/girepository-1.0
 typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
 
-CLEANFILES = $(gir_DATA) $(typelib_DATA)
+CLEANFILES += $(gir_DATA) $(typelib_DATA)
 endif


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