[SCM] hydrogen-drumkits packaging branch, master, updated. debian/0.9.3.20070703-1-11-g1210b49

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Mon Jun 28 08:11:37 UTC 2010


The following commit has been merged in the master branch:
commit 964ca5643a2fbb993951a4dcefc0a2f2a32a2d3e
Author: Alessio Treglia <alessio at debian.org>
Date:   Mon Jun 28 10:00:38 2010 +0200

    DH 7 tiny rules.

diff --git a/debian/rules b/debian/rules
index ee335b1..b9642be 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,4 @@
 #!/usr/bin/make -f
-# debian/rules for hydrogen-drumkits by Free Ekanayaka
-# GNU copyright 2006
-# based on a sample file 
-# GNU copyright 2002 by Bill Allombert
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
 
 KITS_DIR=debian/hydrogen-drumkits/usr/share/hydrogen/data/drumkits
 SONG_DIR=debian/hydrogen-drumkits/usr/share/hydrogen/data/demo_songs
@@ -23,23 +16,12 @@ BROKEN_SONGS=\
 	TR808909demo1.h2song\
 	rullada.h2song tipododiciottavi.h2song
 
-build: build-stamp
-
-build-stamp: 
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp 
-	rm -rf tmp
-	dh_clean
+%:
+	dh $@
 
-unpack:
-	dh_testdir
-	dh_testroot
-	dh_clean -k
+override_dh_auto_configure:
+override_dh_auto_build:
+override_dh_auto_install:
 	mkdir -p $(KITS_DIR)
 	mkdir -p $(SONG_DIR)
 	mkdir -p tmp
@@ -68,38 +50,6 @@ unpack:
 		rm "$(SONG_DIR)/$$i"; \
 	done
 
-install: build unpack
-	dh_testdir
-	dh_testroot
-
-# Build architecture-independent files here.
-binary-arch: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installexamples
-	dh_installmenu
-	dh_installcron
-	dh_installman
-	dh_installinfo
-	dh_installchangelogs 
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
 get-orig-source:
 	chmod a+x debian/get-orig-source
 	debian/get-orig-source
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install

-- 
hydrogen-drumkits packaging



More information about the pkg-multimedia-commits mailing list