r13936 - in /desktop/unstable/gnome-python/debian: changelog rules

lool at users.alioth.debian.org lool at users.alioth.debian.org
Tue Dec 18 15:22:29 UTC 2007


Author: lool
Date: Tue Dec 18 15:22:29 2007
New Revision: 13936

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=13936
Log:
* Fix target inter-dependencies.

Modified:
    desktop/unstable/gnome-python/debian/changelog
    desktop/unstable/gnome-python/debian/rules

Modified: desktop/unstable/gnome-python/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-python/debian/changelog?rev=13936&op=diff
==============================================================================
--- desktop/unstable/gnome-python/debian/changelog (original)
+++ desktop/unstable/gnome-python/debian/changelog Tue Dec 18 15:22:29 2007
@@ -11,6 +11,7 @@
 
   [ Loic Minier ]
   * Misc small cleanups; notably fix .PHONY targets.
+  * Fix target inter-dependencies.
 
  -- Emilio Pozuelo Monfort <pochu at ubuntu.com>  Thu, 13 Dec 2007 19:15:25 +0100
 

Modified: desktop/unstable/gnome-python/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-python/debian/rules?rev=13936&op=diff
==============================================================================
--- desktop/unstable/gnome-python/debian/rules (original)
+++ desktop/unstable/gnome-python/debian/rules Tue Dec 18 15:22:29 2007
@@ -19,7 +19,7 @@
 
 PYVERS := $(shell pyversions -vr debian/control 2>/dev/null)
 
-build-%/configure-stamp: configure
+build-%/configure-stamp: ${DPATCH_STAMPFN}
 	dh_testdir
 	mkdir -p build-$*
 	cd build-$* && \
@@ -32,14 +32,14 @@
 	$(MAKE) -C build-$*
 	touch $@
 
-build: patch $(PYVERS:%=build-%/build-stamp)
+build: $(PYVERS:%=build-%/build-stamp)
 
 install-clean:
 	dh_testdir
 	dh_testroot
 	dh_clean -k
 
-install-%: build-%/build-stamp
+install-%: install-clean build-%/build-stamp
 	dh_testdir
 	dh_testroot
 	$(MAKE) -C build-$* install DESTDIR=$(CURDIR)/debian/tmp-$*
@@ -47,7 +47,7 @@
 		mv libpythonmethod.so libpythonmethod-$*.so
 	dh_install --sourcedir=debian/tmp-$*
 
-install: build install-clean $(PYVERS:%=install-%)
+install: $(PYVERS:%=install-%)
 	dh_installdirs
 	chmod 755 debian/python-gnome2/usr/share/python/runtime.d/*
 
@@ -57,7 +57,7 @@
 	rm -rf build-* debian/tmp-*
 	dh_clean
 
-binary-indep:
+binary-indep: build install
 	dh_testdir
 	dh_testroot
 	dh_installdocs -i
@@ -96,4 +96,7 @@
 	dh_builddeb -s
 
 binary: binary-arch binary-indep
-.PHONY: build clean build install-clean $(PYVERS:%=install-%) install binary-indep binary-arch binary patch unpatch
+# NB: install-% should be .PHONY to avoid checking for real files, but
+# implicit/pattern rules may only build real files; if you declare these
+# .PHONY, no command will be run
+.PHONY: patch unpatch build install-clean install clean binary-indep binary-arch binary




More information about the pkg-gnome-commits mailing list