[Python-apps-commits] r3010 - in packages/mercurial/trunk/debian (changelog rules)
vdanjean at users.alioth.debian.org
vdanjean at users.alioth.debian.org
Wed May 27 00:05:23 UTC 2009
Date: Wednesday, May 27, 2009 @ 00:05:03
Author: vdanjean
Revision: 3010
Install files only when building the corresponding package
Modified:
packages/mercurial/trunk/debian/changelog
packages/mercurial/trunk/debian/rules
Modified: packages/mercurial/trunk/debian/changelog
===================================================================
--- packages/mercurial/trunk/debian/changelog 2009-05-26 23:38:11 UTC (rev 3009)
+++ packages/mercurial/trunk/debian/changelog 2009-05-27 00:05:03 UTC (rev 3010)
@@ -1,3 +1,12 @@
+mercurial (1.2.1-3) unstable; urgency=low
+
+ * Only install (or remove) files in packages we are building
+ (Closes: #529803)
+ Who knows how dh_install detect if we are building arch-dep and/or
+ arch-indep packages ?
+
+ -- Vincent Danjean <vdanjean at debian.org> Wed, 27 May 2009 01:46:40 +0200
+
mercurial (1.2.1-2) unstable; urgency=low
* rebuild (forgot to upload arch-all in previous upload)
Modified: packages/mercurial/trunk/debian/rules
===================================================================
--- packages/mercurial/trunk/debian/rules 2009-05-26 23:38:11 UTC (rev 3009)
+++ packages/mercurial/trunk/debian/rules 2009-05-27 00:05:03 UTC (rev 3010)
@@ -22,6 +22,14 @@
override_dh_install:
dh_install
+ if test -d $(CURDIR)/debian/mercurial ; then \
+ $(MAKE) -f debian/rules install-archdep ; \
+ fi
+ if test -d $(CURDIR)/debian/mercurial-common ; then \
+ $(MAKE) -f debian/rules install-archindep ;\
+ fi
+
+install-archdep:
# Install bash autocompletion.
install -m 644 \
contrib/bash_completion \
@@ -43,6 +51,8 @@
find debian/mercurial/usr/lib \
! -name '*.so' ! -type d -delete , \
-type d -empty -delete
+
+install-archindep:
# remove arch-dependent python stuff
find debian/mercurial-common/usr/lib \
-name '*.so' ! -type d -delete , \
More information about the Python-apps-commits
mailing list