[Build-common-hackers] cdbs in php-codesniffer package: moving script after install rule?
Jack Bates
ms419 at freezone.co.uk
Wed Sep 3 19:32:54 UTC 2008
I am updating the php-codesniffer package, which I maintain.
When my basic debian/rules only includes debhelper.mk and pear.mk, the
upstream build system installs a script at
"/usr/bin/scripts/phpcs-svn-pre-commit", which is a violation of Debian
policy.
To avoid this, I tried moving the script to
"/usr/share/subversion/hook-scripts/phpcs" after the cdbs "install"
rule, using a custom "install::" rule:
http://cgi.sfu.ca/~jdbates/tmp/debian/200809030/rules
Unfortunately this rule has no effect : (
What is the correct way to fix my package, so that it installs this
script in "/usr/share/subversion/hook-scripts/phpcs" instead of
"/usr/bin/scripts/phpcs-svn-pre-commit"?
Thanks and best wishes, Jack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20080903/9db3ffd1/attachment.pgp
More information about the Build-common-hackers
mailing list