[Python-modules-commits] r9689 - in packages/transmissionrpc/trunk/debian (rules)

taem-guest at users.alioth.debian.org taem-guest at users.alioth.debian.org
Mon Sep 7 05:23:22 UTC 2009


    Date: Monday, September 7, 2009 @ 05:23:21
  Author: taem-guest
Revision: 9689

Let python-support manage installation itself
s/PREFIX/PKG_DIR/

Modified:
  packages/transmissionrpc/trunk/debian/rules

Modified: packages/transmissionrpc/trunk/debian/rules
===================================================================
--- packages/transmissionrpc/trunk/debian/rules	2009-09-07 05:22:07 UTC (rev 9688)
+++ packages/transmissionrpc/trunk/debian/rules	2009-09-07 05:23:21 UTC (rev 9689)
@@ -3,8 +3,8 @@
 
 include /usr/share/dpatch/dpatch.make
 
-PREFIX := debian/python-transmissionrpc/usr
-CONTRIB_DIR := $(PREFIX)/share/doc/python-transmissionrpc/contrib
+PKG_DIR := debian/python-transmissionrpc/usr
+CONTRIB_DIR := $(PKG_DIR)/share/doc/python-transmissionrpc/contrib
 
 build: patch
 
@@ -24,7 +24,7 @@
 		--root=$(CURDIR)/debian/python-transmissionrpc
 
 	# Install helical.py to /usr/bin
-	install -Dm 755 contrib/helical.py $(PREFIX)/bin/helical
+	install -Dm 755 contrib/helical.py $(PKG_DIR)/bin/helical
 
 	# Copy contrib files
 	install -Dm 644 contrib/assassinate.py $(CONTRIB_DIR)/assassinate.py




More information about the Python-modules-commits mailing list