[Build-common-hackers] Bug#499726: install:: rule not called between cdbs install and binary rules

Jack Bates ms419 at freezone.co.uk
Sun Sep 21 17:12:10 UTC 2008


Package: cdbs
Version: 0.4.52
Severity: normal

Here is the minimal debian/rules from the php-codesniffer package, which I
maintain: http://cgi.sfu.ca/~jdbates/tmp/debian/200809030/rules

The latest release of this package installs a script in
usr/bin/scripts/phpcs-svn-pre-commit, which I need to move to
usr/share/subversion/hook-scripts/phpcs

- so I added the custom install:: rule to move this script, after the cdbs
install rule and before the cdbs binary rule:

install::
	mv -i $(DEB_DESTDIR)/usr/bin/scripts/phpcs-svn-pre-commit $(DEB_DESTDIR)/usr/share/subversion/hook-scripts/phpcs

Unfortunately, the install:: rule is not called...

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cdbs depends on:
ii  debhelper                     7.0.17     helper programs for debian/rules

Versions of packages cdbs recommends:
ii  autotools-dev                 20080123.2 Update infrastructure for config.{

Versions of packages cdbs suggests:
ii  devscripts                    2.10.36    scripts to make the life of a Debi
ii  doc-base                      0.8.16     utilities to manage online documen

-- no debconf information





More information about the Build-common-hackers mailing list