r46845 - /desktop/unstable/gobject-introspection/debian/rules

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Tue Nov 3 13:08:01 UTC 2015


Author: biebl
Date: Tue Nov  3 13:08:01 2015
New Revision: 46845

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=46845
Log:
Use find to delete unwanted files so we clean up subdirectories as well

Modified:
    desktop/unstable/gobject-introspection/debian/rules

Modified: desktop/unstable/gobject-introspection/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gobject-introspection/debian/rules?rev=46845&op=diff
==============================================================================
--- desktop/unstable/gobject-introspection/debian/rules	[utf-8] (original)
+++ desktop/unstable/gobject-introspection/debian/rules	[utf-8] Tue Nov  3 13:08:01 2015
@@ -12,9 +12,9 @@
 common-binary-post-install-arch:: list-missing
 list-missing: remove-unwanted-files
 remove-unwanted-files:
-	rm -f debian/tmp/usr/lib/*/*.la
-	rm -f debian/tmp/usr/lib/*/gobject-introspection/giscanner/*.pyc
-	rm -f debian/tmp/usr/lib/*/gobject-introspection/giscanner/*.pyo
+	find debian/tmp -name '*.la' -delete
+	find debian/tmp -name '*.pyc' -delete
+	find debian/tmp -name '*.pyo' -delete
 
 DEB_MAKE_ENVVARS += HOME=$(CURDIR)
 DEB_MAKE_CHECK_TARGET = check




More information about the pkg-gnome-commits mailing list