[Python-modules-commits] r9640 - in packages/transmissionrpc/trunk/debian (rules)
taem-guest at users.alioth.debian.org
taem-guest at users.alioth.debian.org
Fri Sep 4 04:38:45 UTC 2009
Date: Friday, September 4, 2009 @ 04:38:42
Author: taem-guest
Revision: 9640
Use 'install' instead of 'cp'
Modified:
packages/transmissionrpc/trunk/debian/rules
Modified: packages/transmissionrpc/trunk/debian/rules
===================================================================
--- packages/transmissionrpc/trunk/debian/rules 2009-09-04 04:23:06 UTC (rev 9639)
+++ packages/transmissionrpc/trunk/debian/rules 2009-09-04 04:38:42 UTC (rev 9640)
@@ -19,18 +19,16 @@
dh_testdir
dh_testroot
dh_prep
- dh_installdirs
python setup.py install --no-compile \
--install-lib=$(PREFIX)/share/python-support/python-transmissionrpc
# Install helical.py to /usr/bin
- cp contrib/helical.py $(PREFIX)/bin/helical
+ install -Dm 755 contrib/helical.py $(PREFIX)/bin/helical
# Copy contrib files
- [ -d $(CONTRIB_DIR) ] || mkdir -p $(CONTRIB_DIR)
- cp contrib/assassinate.py $(CONTRIB_DIR)/
- cp contrib/system.py $(CONTRIB_DIR)/
+ install -Dm 644 contrib/assassinate.py $(CONTRIB_DIR)/assassinate.py
+ install -Dm 644 contrib/system.py $(CONTRIB_DIR)/system.py
binary-indep: install
dh_testdir
More information about the Python-modules-commits
mailing list