[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

cdbs: how to move file after install target?



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

Unfortunately it installs a script
at /usr/bin/scrips/phpcs-svn-pre-commit, instead
of /usr/share/subversion/hook-scripts/phpcs

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

- 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

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: