[Build-common-hackers] Bug#468208: cdbs: please support DEB_DH_INSTALL_<package> variable
Yves-Alexis Perez
corsac at debian.org
Wed Feb 27 18:01:25 UTC 2008
Package: cdbs
Version: 0.4.51
Severity: wishlist
Tags: patch
It would be nice to support a DEB_DH_INSTALL_<package> variable, wich would
enable us to pass different args to dh_install in cdbs (for example for using
-X on some packages, as you can't exclude in a debian/install file)
Attached (trivial) patch enables this behavior, but I dont know if variable
name is ok.
Cheers,
--
Yves-Alexis Perez
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages cdbs depends on:
ii debhelper 6.0.5 helper programs for debian/rules
Versions of packages cdbs recommends:
ii autotools-dev 20070725.1 Update infrastructure for config.{
-- no debconf information
-------------- next part --------------
Index: trunk/1/rules/debhelper.mk.in
===================================================================
--- trunk/1/rules/debhelper.mk.in (revision 206)
+++ trunk/1/rules/debhelper.mk.in (working copy)
@@ -68,6 +68,8 @@
# Completely override argument passing to dh_shlibdeps.
# DEB_DH_PERL_ARGS
# Completely override argument passing to dh_perl.
+# DEB_DH_INSTALL_<package>
+# Arguments passed to dh_install, for a particular package <package>
####
#PATH_RULES#
@@ -172,7 +174,7 @@
dh_installmime -p$(cdbs_curpkg) $(DEB_DH_INSTALLMIME_ARGS)
dh_installchangelogs -p$(cdbs_curpkg) $(DEB_DH_INSTALLCHANGELOGS_ARGS) $(DEB_INSTALL_CHANGELOGS_ALL) $(DEB_INSTALL_CHANGELOGS_$(cdbs_curpkg))
$(if $(wildcard /usr/bin/dh_installudev),dh_installudev -p$(cdbs_curpkg) $(DEB_DH_INSTALLUDEV_ARGS))
- dh_install -p$(cdbs_curpkg) $(if $(DEB_DH_INSTALL_SOURCEDIR),--sourcedir=$(DEB_DH_INSTALL_SOURCEDIR)) $(DEB_DH_INSTALL_ARGS)
+ dh_install -p$(cdbs_curpkg) $(if $(DEB_DH_INSTALL_SOURCEDIR),--sourcedir=$(DEB_DH_INSTALL_SOURCEDIR)) $(DEB_DH_INSTALL_ARGS) $(DEB_DH_INSTALL_$(cdbs_curpkg)
dh_link -p$(cdbs_curpkg) $(DEB_DH_LINK_ARGS) $(DEB_DH_LINK_$(cdbs_curpkg))
# This rule is called after all packages have been installed, and their
More information about the Build-common-hackers
mailing list