On Wed, 2008-09-10 at 10:53 -0700, Jack Bates wrote: > I use cdbs to maintain the php-codesniffer package and have a very basic > debian/rules: http://cgi.sfu.ca/~jdbates/tmp/debian/200809030/rules
These type of questions might best be answered on debian-mentors - specific advice will need access to the source package which debian-mentors can provide. > Unfortunately it installs a script > at /usr/bin/scrips/phpcs-svn-pre-commit, instead > of /usr/share/subversion/hook-scripts/phpcs You should set the install to use a temp directory and then pick what you want from that. > So I tried inserting my own command to > move /usr/bin/scrips/phpcs-svn-pre-commit > to /usr/share/subversion/hook-scripts/phpcs after the debian/rules > install target: > > install:: > mv -i $(DEB_DESTDIR)/usr/bin/scripts/phpcs-svn-pre-commit > $(DEB_DESTDIR)/usr/share/subversion/hook-scripts/phpcs install/$package:: or specify it in the relevant .install file as with any debhelper package. > - but it has no effect: The script is still installed at > /usr/bin/scrips/phpcs-svn-pre-commit > > What is the "correct" way to move /usr/bin/scrips/phpcs-svn-pre-commit > to /usr/share/subversion/hook-scripts/phpcs using cdbs? > > Thanks, Jack -- Neil Williams ============= http://www.data-freedom.org/ http://www.nosoftwarepatents.com/ http://www.linux.codehelp.co.uk/
signature.asc
Description: This is a digitally signed message part