debian/rules
branchdebian
changeset 172 5dd3698fad54
parent 116 d99f3169828a
child 176 0fb538c48073
--- a/debian/rules	Tue Oct 13 18:32:26 2009 +0100
+++ b/debian/rules	Mon Nov 09 16:23:04 2009 +0000
@@ -16,7 +16,6 @@
 
 	touch configure-stamp
 
-
 build: build-stamp
 
 build-stamp: configure-stamp  
@@ -43,27 +42,9 @@
 	dh_installdirs
 
 	# Add here commands to install the package into debian/mercurial-server.
-	cp \
-	    src/hg-ssh \
-	    src/refresh-auth \
-	    debian/mercurial-server/usr/share/mercurial-server
-	cp \
-	    src/mercurialserver/__init__.py \
-	    src/mercurialserver/paths.py \
-	    src/mercurialserver/changes.py \
-	    src/mercurialserver/access.py \
-	    src/mercurialserver/servelog.py \
-	    src/mercurialserver/refreshauth.py \
-	    src/mercurialserver/ruleset.py \
-	    debian/mercurial-server/usr/share/mercurial-server/mercurialserver
-	cp \
-	    src/init/hginit \
-	    src/init/hgadmin-hgrc \
-	    debian/mercurial-server/usr/share/mercurial-server/init
-	cp \
-	    src/init/conf/remote-hgrc \
-	    src/init/conf/access.conf \
-	    debian/mercurial-server/etc/mercurial-server
+	$(MAKE) installfiles \
+	    TOPDIR=debian/mercurial-server \
+	    PREFIX=debian/mercurial-server/usr/share
 
 # Build architecture-independent files here.
 binary-indep: build install
@@ -83,7 +64,7 @@
 #	dh_installemacsen
 #	dh_installpam
 #	dh_installmime
-#	dh_python
+	dh_python
 #	dh_installinit
 #	dh_installcron
 #	dh_installinfo