debian/rules
branchdebian
changeset 116 d99f3169828a
parent 99 e99262dfa950
child 172 5dd3698fad54
--- a/debian/rules	Tue Oct 13 15:30:03 2009 +0100
+++ b/debian/rules	Tue Oct 13 18:21:22 2009 +0100
@@ -9,10 +9,6 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-
-
-
-
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
@@ -27,7 +23,6 @@
 	dh_testdir
 
 	# Add here commands to compile the package.
-	$(MAKE)
 	#docbook-to-man debian/mercurial-server.sgml > mercurial-server.1
 
 	touch $@
@@ -38,7 +33,6 @@
 	rm -f build-stamp configure-stamp
 
 	# Add here commands to clean up after the build process.
-	$(MAKE) clean
 
 	dh_clean 
 
@@ -49,8 +43,27 @@
 	dh_installdirs
 
 	# Add here commands to install the package into debian/mercurial-server.
-	$(MAKE) DESTDIR=$(CURDIR)/debian/mercurial-server install
-
+	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
 
 # Build architecture-independent files here.
 binary-indep: build install
@@ -60,9 +73,9 @@
 binary-arch: build install
 	dh_testdir
 	dh_testroot
-	dh_installchangelogs 
+#	dh_installchangelogs 
 	dh_installdocs
-	dh_installexamples
+#	dh_installexamples
 #	dh_install
 #	dh_installmenu
 #	dh_installdebconf