r53641 - in /desktop/unstable/gtk+3.0/debian: changelog rules

pochu at users.alioth.debian.org pochu at users.alioth.debian.org
Mon Sep 11 17:53:18 UTC 2017


Author: pochu
Date: Mon Sep 11 17:53:17 2017
New Revision: 53641

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=53641
Log:
Skip the udeb build when not building the -udeb package. Saves a lot
of time on the arch:all builds.

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

Modified: desktop/unstable/gtk+3.0/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtk%2B3.0/debian/changelog?rev=53641&op=diff
==============================================================================
--- desktop/unstable/gtk+3.0/debian/changelog	[utf-8] (original)
+++ desktop/unstable/gtk+3.0/debian/changelog	[utf-8] Mon Sep 11 17:53:17 2017
@@ -7,6 +7,8 @@
     Only regression is that we don't run --fail-missing on arch:all builds.
   * Don't build the docs when not building the -doc packages. Saves some
     time on arch-only builds.
+  * Skip the udeb build when not building the -udeb package. Saves a lot
+    of time on the arch:all builds.
 
  -- Emilio Pozuelo Monfort <pochu at debian.org>  Sat, 09 Sep 2017 15:13:57 +0200
 

Modified: desktop/unstable/gtk+3.0/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtk%2B3.0/debian/rules?rev=53641&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:53:17 2017
@@ -101,12 +101,14 @@
 		$(configure_flags_common) \
 		$(configure_flags_deb) \
 		$(NULL)
+ifneq ($(filter %-udeb,$(binaries)),)
 	dh_auto_configure \
 		--builddirectory=debian/build/udeb \
 		-- \
 		$(configure_flags_common) \
 		$(configure_flags_udeb) \
 		$(NULL)
+endif
 
 override_dh_auto_build:
 	# Mark reftests with known failures as non-fatal
@@ -119,15 +121,19 @@
 	cp gtk/org.gtk.* debian/build/glib-2.0/schemas/
 	glib-compile-schemas debian/build/glib-2.0/schemas/
 	dh_auto_build --builddirectory=debian/build/deb
+ifneq ($(filter %-udeb,$(binaries)),)
 	dh_auto_build --builddirectory=debian/build/udeb
+endif
 
 override_dh_auto_test:
 	# Remove LD_PRELOAD so we don't run with fakeroot, which makes dbus-related tests fail
 	env -u LD_PRELOAD dh_auto_test --builddirectory=debian/build/deb -- -k check -j1
 
 override_dh_auto_install:
+	dh_auto_install --builddirectory=debian/build/deb --destdir=debian/install/deb
+ifneq ($(filter %-udeb,$(binaries)),)
 	dh_auto_install --builddirectory=debian/build/udeb --destdir=debian/install/udeb
-	dh_auto_install --builddirectory=debian/build/deb --destdir=debian/install/deb
+endif
 
 override_dh_install:
 	dh_install -p$(UDEB_PKG) --sourcedir=debian/install/udeb




More information about the pkg-gnome-commits mailing list