[SCM] zynaddsubfx/master: Switch to short debhelper

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Wed Jul 11 09:59:35 UTC 2012


The following commit has been merged in the master branch:
commit b43c7e6a7e4ad0888deca87376434fd0ee4b424a
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Wed Jul 11 12:00:00 2012 +0200

    Switch to short debhelper

diff --git a/debian/rules b/debian/rules
index 8d7f8a3..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,93 +1,4 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-include /usr/share/quilt/quilt.make
-
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-	INSTALL_PROGRAM += -s
-endif
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	# Add here commands to configure the package.
-
-	touch configure-stamp
-
-
-build: build-stamp
-
-build-stamp: patch configure-stamp 
-	dh_testdir
-
-	# Add here commands to compile the package.
-	
-	$(MAKE) -C src
-	#/usr/bin/docbook-to-man debian/zynaddsubfx.sgml > zynaddsubfx.1
-
-	touch build-stamp
-
-clean: unpatch
-	dh_testdir
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-
-	# Add here commands to clean up after the build process.
-	[ ! -f Makefile ] || $(MAKE) -C src clean
-
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-
-	# Add here commands to install the package into debian/zynaddsubfx.
-	cd src
-	$(MAKE) -C src install DESTDIR=$(CURDIR)/debian/zynaddsubfx
-	install -m 644 debian/zynaddsubfx.desktop $(CURDIR)/debian/zynaddsubfx/usr/share/applications
-	install -m 644 debian/zynaddsubfx.xpm $(CURDIR)/debian/zynaddsubfx/usr/share/pixmaps/
-	cp -r $(CURDIR)/banks $(CURDIR)/debian/zynaddsubfx/usr/share/zynaddsubfx
-#	cp -r $(CURDIR)/presets $(CURDIR)/debian/zynaddsubfx/usr/share/zynaddsubfx
-	cd ..
-
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs 
-	dh_installdocs
-	dh_installexamples
-	dh_installmenu
-	dh_installman debian/zynaddsubfx.1
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+%:
+	dh $@

-- 
zynaddsubfx packaging



More information about the pkg-multimedia-commits mailing list