From 62d960426ff98fa407a1b6d9946c921b3c9a9da9 Mon Sep 17 00:00:00 2001 From: "Zeeshan Ali (Khattak)" Date: Fri, 15 Oct 2010 16:19:21 +0300 Subject: [PATCH] build: Custom rule to remove .stamp files --- Makefile.am | 3 +++ src/Makefile.am | 3 +++ src/plugins/Makefile.am | 3 +++ src/plugins/external/Makefile.am | 3 +++ src/plugins/gst-launch/Makefile.am | 3 +++ src/plugins/media-export/Makefile.am | 3 +++ src/plugins/mediathek/Makefile.am | 3 +++ src/plugins/mpris/Makefile.am | 3 +++ src/plugins/playbin/Makefile.am | 3 +++ src/plugins/test/Makefile.am | 3 +++ src/plugins/tracker/Makefile.am | 3 +++ src/rygel/Makefile.am | 3 +++ src/ui/Makefile.am | 3 +++ 13 files changed, 39 insertions(+) diff --git a/Makefile.am b/Makefile.am index 257de75..5df20af 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,3 +19,6 @@ $(top_srcdir)/.version: echo $(VERSION) > $@-t && mv $@-t $@ dist-hook: echo $(VERSION) > $(distdir)/.tarball-version + +vala-clean: + rm -f `find . -name "*.stamp"` diff --git a/src/Makefile.am b/src/Makefile.am index 42bd230..6e6533a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -5,3 +5,6 @@ SUBDIRS = rygel plugins endif MAINTAINERCLEANFILES = Makefile.in + +vala-clean: + rm -f `find . -name "*.stamp"` diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am index ccbeee6..747d837 100644 --- a/src/plugins/Makefile.am +++ b/src/plugins/Makefile.am @@ -40,3 +40,6 @@ SUBDIRS = $(TEST_PLUGIN) \ $(PLAYBIN) MAINTAINERCLEANFILES = Makefile.in + +vala-clean: + rm -f `find . -name "*.stamp"` diff --git a/src/plugins/external/Makefile.am b/src/plugins/external/Makefile.am index 72a7925..2d4e211 100644 --- a/src/plugins/external/Makefile.am +++ b/src/plugins/external/Makefile.am @@ -40,3 +40,6 @@ librygel_external_la_LIBADD = $(LIBGUPNP_LIBS) \ librygel_external_la_LDFLAGS = -shared -fPIC -module -avoid-version MAINTAINERCLEANFILES = Makefile.in + +vala-clean: + rm -f `find . -name "*.stamp"` diff --git a/src/plugins/gst-launch/Makefile.am b/src/plugins/gst-launch/Makefile.am index b76cb80..059878f 100644 --- a/src/plugins/gst-launch/Makefile.am +++ b/src/plugins/gst-launch/Makefile.am @@ -31,3 +31,6 @@ librygel_gst_launch_la_LIBADD = $(LIBGUPNP_LIBS) \ librygel_gst_launch_la_LDFLAGS = -shared -fPIC -module -avoid-version MAINTAINERCLEANFILES = Makefile.in + +vala-clean: + rm -f `find . -name "*.stamp"` diff --git a/src/plugins/media-export/Makefile.am b/src/plugins/media-export/Makefile.am index 05ff906..bec6b8b 100644 --- a/src/plugins/media-export/Makefile.am +++ b/src/plugins/media-export/Makefile.am @@ -64,3 +64,6 @@ librygel_media_export_la_LIBADD = $(LIBGUPNP_LIBS) \ librygel_media_export_la_LDFLAGS = -shared -fPIC -module -avoid-version MAINTAINERCLEANFILES = Makefile.in + +vala-clean: + rm -f `find . -name "*.stamp"` diff --git a/src/plugins/mediathek/Makefile.am b/src/plugins/mediathek/Makefile.am index 8c60639..544c57e 100644 --- a/src/plugins/mediathek/Makefile.am +++ b/src/plugins/mediathek/Makefile.am @@ -43,3 +43,6 @@ librygel_mediathek_la_LIBADD = $(LIBGUPNP_LIBS) \ librygel_mediathek_la_LDFLAGS = -shared -fPIC -module -avoid-version MAINTAINERCLEANFILES = Makefile.in + +vala-clean: + rm -f `find . -name "*.stamp"` diff --git a/src/plugins/mpris/Makefile.am b/src/plugins/mpris/Makefile.am index f889301..37cadf0 100644 --- a/src/plugins/mpris/Makefile.am +++ b/src/plugins/mpris/Makefile.am @@ -35,3 +35,6 @@ librygel_mpris_la_LIBADD = $(LIBGUPNP_LIBS) \ librygel_mpris_la_LDFLAGS = -shared -fPIC -module -avoid-version MAINTAINERCLEANFILES = Makefile.in + +vala-clean: + rm -f `find . -name "*.stamp"` diff --git a/src/plugins/playbin/Makefile.am b/src/plugins/playbin/Makefile.am index be23645..4dbd021 100644 --- a/src/plugins/playbin/Makefile.am +++ b/src/plugins/playbin/Makefile.am @@ -33,3 +33,6 @@ librygel_playbin_la_LIBADD = $(LIBGUPNP_LIBS) \ librygel_playbin_la_LDFLAGS = -shared -fPIC -module -avoid-version MAINTAINERCLEANFILES = Makefile.in + +vala-clean: + rm -f `find . -name "*.stamp"` diff --git a/src/plugins/test/Makefile.am b/src/plugins/test/Makefile.am index 481bb8a..bf8805a 100644 --- a/src/plugins/test/Makefile.am +++ b/src/plugins/test/Makefile.am @@ -35,3 +35,6 @@ librygel_test_la_LIBADD = $(LIBGUPNP_LIBS) \ librygel_test_la_LDFLAGS = -shared -fPIC -module -avoid-version MAINTAINERCLEANFILES = Makefile.in + +vala-clean: + rm -f `find . -name "*.stamp"` diff --git a/src/plugins/tracker/Makefile.am b/src/plugins/tracker/Makefile.am index a6233cf..209562e 100644 --- a/src/plugins/tracker/Makefile.am +++ b/src/plugins/tracker/Makefile.am @@ -51,3 +51,6 @@ librygel_media_tracker_la_LIBADD = $(LIBGUPNP_LIBS) \ librygel_media_tracker_la_LDFLAGS = -shared -fPIC -module -avoid-version MAINTAINERCLEANFILES = Makefile.in + +vala-clean: + rm -f `find . -name "*.stamp"` diff --git a/src/rygel/Makefile.am b/src/rygel/Makefile.am index 68be7c6..300159b 100644 --- a/src/rygel/Makefile.am +++ b/src/rygel/Makefile.am @@ -166,3 +166,6 @@ EXTRA_DIST = rygel-build-config.vapi \ $(VAPI_FILES) \ $(DEPS_FILES) \ $(BUILT_SOURCES) + +vala-clean: + rm -f `find . -name "*.stamp"` diff --git a/src/ui/Makefile.am b/src/ui/Makefile.am index 7f315dc..c55e05f 100644 --- a/src/ui/Makefile.am +++ b/src/ui/Makefile.am @@ -50,3 +50,6 @@ rygel_preferences_LDADD = \ rygel_preferences_LDFLAGS = -export-dynamic MAINTAINERCLEANFILES = Makefile.in + +vala-clean: + rm -f `find . -name "*.stamp"` -- 2.7.4