[Pkg-voip-commits] r8608 - /op-panel/trunk/debian/rules

tzafrir at alioth.debian.org tzafrir at alioth.debian.org
Sun Aug 15 21:17:31 UTC 2010


Author: tzafrir
Date: Sun Aug 15 21:17:24 2010
New Revision: 8608

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=8608
Log:
move op_panel back to .pl on clean

Modified:
    op-panel/trunk/debian/rules

Modified: op-panel/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/op-panel/trunk/debian/rules?rev=8608&op=diff
==============================================================================
--- op-panel/trunk/debian/rules (original)
+++ op-panel/trunk/debian/rules Sun Aug 15 21:17:24 2010
@@ -6,7 +6,7 @@
 # Uncomment this to turn on verbose mode.
 export DH_VERBOSE=1
 
-include /usr/share/dpatch/dpatch.make
+include /usr/share/quilt/quilt.make
 
 DEBVERSION:=$(shell head -n 1 debian/changelog \
                     | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
@@ -29,14 +29,14 @@
 
 build: build-stamp
 
-build-stamp: patch-stamp 
+build-stamp: patch
 	dh_testdir
 	
 	# Add here commands to compile the package.
 	/usr/bin/perl ming-source/operator_panel.pl
 	/usr/bin/perl ming-source/comunicator.pl
 	/usr/bin/pod2man --section 8 op_server.pl debian/op_server.8
-	mv op_server.pl op_server	
+	if [ ! -r op_server ]; then mv op_server.pl op_server; fi
 	touch build-stamp
 
 clean: clean-patched unpatch
@@ -48,6 +48,7 @@
 	
 	# Add here commands to clean up after the build process.
 	rm -f debian/op_server.8
+	if [ -r op_server ]; then mv op_server op_server.pl; fi
 	rm -f *.swf
 	
 	dh_clean 




More information about the Pkg-voip-commits mailing list