r53640 - /desktop/unstable/gtk+3.0/debian/rules

pochu at users.alioth.debian.org pochu at users.alioth.debian.org
Mon Sep 11 17:47:21 UTC 2017


Author: pochu
Date: Mon Sep 11 17:47:21 2017
New Revision: 53640

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=53640
Log:
simplify .in dependencies

dh_listpackages does the right thing, listing the right binaries
for the type of build, so no need to have three different calls

Modified:
    desktop/unstable/gtk+3.0/debian/rules

Modified: desktop/unstable/gtk+3.0/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtk%2B3.0/debian/rules?rev=53640&op=diff
==============================================================================
--- desktop/unstable/gtk+3.0/debian/rules	[utf-8] (original)
+++ desktop/unstable/gtk+3.0/debian/rules	[utf-8] Mon Sep 11 17:47:21 2017
@@ -192,15 +192,10 @@
 override_dh_clean: debian/control
 	# gross kludge to force control generation with the %.in target
 	touch debian/control.in
-	rm -f $(call dh_subst_files,$(DEB_ALL_PACKAGES))
+	rm -f $(call dh_subst_files,$(binaries))
 	rm -f testsuite/reftests/*.ui.known_fail
 	rm -rf debian/build debian/install
 	dh_clean
 
-DEB_INDEP_PACKAGES = $(shell dh_listpackages -i)
-DEB_ARCH_PACKAGES = $(shell dh_listpackages -a)
-DEB_ALL_PACKAGES = $(shell dh_listpackages)
 # Add dependencies to generate files from the debian/*.in ones
-override_dh_auto_build-indep: $(call dh_subst_files,$(DEB_INDEP_PACKAGES))
-override_dh_auto_build-arch: $(call dh_subst_files,$(DEB_ARCH_PACKAGES))
-override_dh_auto_build: $(call dh_subst_files,$(DEB_ALL_PACKAGES))
+override_dh_auto_build: $(call dh_subst_files,$(binaries))




More information about the pkg-gnome-commits mailing list