[SCM] gsequencer/master: Cleaned up "clean" rule

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Wed Sep 20 10:10:24 UTC 2017


The following commit has been merged in the master branch:
commit 85717c663e6109cba8c4df7099669b341014e4ab
Author: IOhannes m zmölnig (Debian/GNU) <umlaeute at debian.org>
Date:   Wed Sep 20 10:47:28 2017 +0200

    Cleaned up  "clean" rule

diff --git a/debian/rules b/debian/rules
index e87b03a..ab7d790 100755
--- a/debian/rules
+++ b/debian/rules
@@ -80,84 +80,23 @@ override_dh_shlibdeps:
 	dh $@
 
 override_dh_clean:
-	rm -rf docs/reference/libags/.libs/
-	rm -f docs/reference/libags/html-build.stamp
-	rm -f docs/reference/libags/html.stamp
-	rm -f docs/reference/libags/libags-decl-list.txt
-	rm -f docs/reference/libags/libags-decl.txt
-	rm -f docs/reference/libags/libags-undeclared.txt
-	rm -f docs/reference/libags/libags-undocumented.txt
-	rm -f docs/reference/libags/libags-unused.txt
-	rm -f docs/reference/libags/libags.args
-	rm -f docs/reference/libags/libags.hierarchy
-	rm -f docs/reference/libags/libags.interfaces
-	rm -f docs/reference/libags/libags.prerequisites
-	rm -f docs/reference/libags/libags.signals
-	rm -f docs/reference/libags/scan-build.stamp
-	rm -f docs/reference/libags/setup-build.stamp
-	rm -f docs/reference/libags/sgml-build.stamp
-	rm -f docs/reference/libags/sgml.stamp
-	rm -f docs/reference/libags/tmpl-build.stamp
-	rm -f docs/reference/libags/tmpl.stamp
-	rm -rf docs/reference/libags/tmpl/
-	rm -rf docs/reference/libags-audio/.libs/
-	rm -f docs/reference/libags-audio/html-build.stamp
-	rm -f docs/reference/libags-audio/html.stamp
-	rm -f docs/reference/libags-audio/libags_audio-decl-list.txt
-	rm -f docs/reference/libags-audio/libags_audio-decl.txt
-	rm -f docs/reference/libags-audio/libags_audio-undeclared.txt
-	rm -f docs/reference/libags-audio/libags_audio-undocumented.txt
-	rm -f docs/reference/libags-audio/libags_audio-unused.txt
-	rm -f docs/reference/libags-audio/libags_audio.args
-	rm -f docs/reference/libags-audio/libags_audio.hierarchy
-	rm -f docs/reference/libags-audio/libags_audio.interfaces
-	rm -f docs/reference/libags-audio/libags_audio.prerequisites
-	rm -f docs/reference/libags-audio/libags_audio.signals
-	rm -f docs/reference/libags-audio/scan-build.stamp
-	rm -f docs/reference/libags-audio/setup-build.stamp
-	rm -f docs/reference/libags-audio/sgml-build.stamp
-	rm -f docs/reference/libags-audio/sgml.stamp
-	rm -f docs/reference/libags-audio/tmpl-build.stamp
-	rm -f docs/reference/libags-audio/tmpl.stamp
-	rm -rf docs/reference/libags-gui/.libs/
-	rm -f docs/reference/libags-gui/html-build.stamp
-	rm -f docs/reference/libags-gui/html.stamp
-	rm -f docs/reference/libags-gui/libags_gui-decl-list.txt
-	rm -f docs/reference/libags-gui/libags_gui-decl.txt
-	rm -f docs/reference/libags-gui/libags_gui-undeclared.txt
-	rm -f docs/reference/libags-gui/libags_gui-undocumented.txt
-	rm -f docs/reference/libags-gui/libags_gui-unused.txt
-	rm -f docs/reference/libags-gui/libags_gui.args
-	rm -f docs/reference/libags-gui/libags_gui.hierarchy
-	rm -f docs/reference/libags-gui/libags_gui.interfaces
-	rm -f docs/reference/libags-gui/libags_gui.prerequisites
-	rm -f docs/reference/libags-gui/libags_gui.signals
-	rm -f docs/reference/libags-gui/scan-build.stamp
-	rm -f docs/reference/libags-gui/setup-build.stamp
-	rm -f docs/reference/libags-gui/sgml-build.stamp
-	rm -f docs/reference/libags-gui/sgml.stamp
-	rm -f docs/reference/libags-gui/tmpl-build.stamp
-	rm -f docs/reference/libags-gui/tmpl.stamp
 	rm -f docs/reference/libgsequencer/libgsequencer-sections.txt
+	find docs/ -type f -name "*.stamp" -delete
+	find docs/ -type f \( \
+		   -name "*-decl-list.txt" \
+		-o -name "*-decl.txt" \
+		-o -name "*-undeclared.txt" \
+		-o -name "*-undocumented.txt" \
+		-o -name "*-unused.txt" \
+		\) -delete
+	find docs/ -type f \( \
+		   -name "*.args" \
+		-o -name "*.hierarchy" \
+		-o -name "*.interfaces" \
+		-o -name "*.prerequisites" \
+		-o -name "*.signals" \
+		\) -delete
 	rm -f docs/reference/libgsequencer/libgsequencer.types
-	rm -rf docs/reference/libgsequencer/.libs/
-	rm -f docs/reference/libgsequencer/html-build.stamp
-	rm -f docs/reference/libgsequencer/html.stamp
-	rm -f docs/reference/libgsequencer/libgsequencer-decl-list.txt
-	rm -f docs/reference/libgsequencer/libgsequencer-decl.txt
-	rm -f docs/reference/libgsequencer/libgsequencer-undeclared.txt
-	rm -f docs/reference/libgsequencer/libgsequencer-undocumented.txt
-	rm -f docs/reference/libgsequencer/libgsequencer-unused.txt
-	rm -f docs/reference/libgsequencer/libgsequencer.args
-	rm -f docs/reference/libgsequencer/libgsequencer.hierarchy
-	rm -f docs/reference/libgsequencer/libgsequencer.interfaces
-	rm -f docs/reference/libgsequencer/libgsequencer.prerequisites
-	rm -f docs/reference/libgsequencer/libgsequencer.signals
-	rm -f docs/reference/libgsequencer/scan-build.stamp
-	rm -f docs/reference/libgsequencer/setup-build.stamp
-	rm -f docs/reference/libgsequencer/sgml-build.stamp
-	rm -f docs/reference/libgsequencer/sgml.stamp
-	rm -f docs/reference/libgsequencer/tmpl-build.stamp
-	rm -f docs/reference/libgsequencer/tmpl.stamp
-	rm -rf docs/reference/libgsequencer/tmpl/
+	find docs/ -type d -name ".libs" -exec rm -rf {} +
+	find docs/ -type d -name "tmpl" -exec rm -rf {} +
 	dh_clean

-- 
gsequencer packaging



More information about the pkg-multimedia-commits mailing list