[SCM] invada-ladspa/master: Switched to debhelper short

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Sun Feb 19 02:12:08 UTC 2012


The following commit has been merged in the master branch:
commit a3cdcf1bc0288e352ba4c7b6fdfa28f6ef87c995
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Sun Feb 19 03:12:12 2012 +0100

    Switched to debhelper short

diff --git a/debian/rules b/debian/rules
index bed9721..c7fc91c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,73 +1,10 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
 
-CFLAGS = -Wall -g
+LDFLAGS+=-Wl,--as-needed
 
-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
-
-	touch configure-stamp
-
-build: build-stamp
-
-build-stamp: configure-stamp 
-	dh_testdir
-
-	$(MAKE) 
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-
-	$(MAKE) clean
-
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep 
-	dh_installdirs
+%:
+	dh $@
 
+override_dh_auto_install:
 	$(MAKE) install INSTALL_PLUGINS_DIR=$(CURDIR)/debian/invada-studio-plugins-ladspa/usr/lib/ladspa INSTALL_LRDF_DIR=$(CURDIR)/debian/invada-studio-plugins-ladspa/usr/share/ladspa/rdf
-
-# 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_install
-	dh_installman
-	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

-- 
invada-ladspa packaging



More information about the pkg-multimedia-commits mailing list