[Mplayer-dev-eng] [patch] Further debian/rules cleanups. Also, please revent the usr/bin change!

André Dahlqvist andre.dahlqvist at telia.com
Tue Aug 28 22:31:21 CEST 2001


First of all, please add back the creation of usr/bin in the rules file.
It does not seams to work here either with just dh_installdirs, I'm
assuming it's because we are using such a low debhelper compability
version.

Below is a patch that sets DH_COMPAT to 2 which is the right thing to do
when you depend on debhelper v2. It also makes sure we remove the tmp
dir altogether in the clean target. The removal of the outcommented make
call is obviously just cleanup.

--- debian/rules~	Tue Aug 28 22:18:51 2001
+++ debian/rules	Tue Aug 28 22:23:03 2001
@@ -3,7 +3,7 @@
 # based on the sample debian/rules file for GNU hello by Ian Jackson.
 #export DH_VERBOSE=1
 # This is the debhelper compatability version to use.
-export DH_COMPAT=1
+export DH_COMPAT=2
 
 package=mplayer
 
@@ -21,7 +21,6 @@
 	dh_testdir
 
 	# Add here commands to compile the package.
-	#$(MAKE)
 	#/usr/bin/docbook-to-man debian/etherconf.sgml > etherconf.1
 	${MAKE} mplayer
 
@@ -38,7 +37,7 @@
 #	-rm -f build
 	-$(MAKE) distclean
 #	-rm -f `find . -name "*~"`
-#	-rm -rf debian/tmp debian/files* core debian/substvars
+	-rm -rf debian/tmp debian/files* core debian/substvars
 	dh_clean
 
 
-- 

André Dahlqvist <andre.dahlqvist at telia.com>

_______________________________________________
Mplayer-dev-eng mailing list
Mplayer-dev-eng at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng



More information about the MPlayer-dev-eng mailing list