[SCM] tap-plugins packaging branch, master, updated. upstream/0.7.1-8-g873e37f
quadrispro-guest at users.alioth.debian.org
quadrispro-guest at users.alioth.debian.org
Sun Apr 18 08:36:23 UTC 2010
The following commit has been merged in the master branch:
commit b49e32cec4a2bd11cedef93ed222d67c23609186
Author: Alessio Treglia <quadrispro at ubuntu.com>
Date: Sun Apr 18 10:34:45 2010 +0200
Switch to debhelper 7.
diff --git a/debian/rules b/debian/rules
index a1909bf..a7d1ce1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,72 +1,13 @@
#!/usr/bin/make -f
-CFLAGS = -Wall -g
+%:
+ dh $@
-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
-
- [ ! -f Makefile ] || $(MAKE) clean
- # remove any images
+override_dh_auto_clean:
find . -name "*.png" -exec rm '{}' \;
find . -name "*.gif" -exec rm '{}' \;
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_prep
- dh_installdirs
-
- $(MAKE) install INSTALL_PLUGINS_DIR=$(CURDIR)/debian/tap-plugins/usr/lib/ladspa INSTALL_LRDF_DIR=$(CURDIR)/debian/tap-plugins/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_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
+override_dh_auto_install:
+ $(MAKE) install \
+ INSTALL_PLUGINS_DIR=$(CURDIR)/debian/tap-plugins/usr/lib/ladspa \
+ INSTALL_LRDF_DIR=$(CURDIR)/debian/tap-plugins/usr/share/ladspa/rdf
--
tap-plugins packaging
More information about the pkg-multimedia-commits
mailing list