[SCM] vamp-plugin-sdk/master: Switch to short debhelper
mira-guest at users.alioth.debian.org
mira-guest at users.alioth.debian.org
Mon Oct 29 18:07:38 UTC 2012
The following commit has been merged in the master branch:
commit 4f3d453630ffa41f852aaff822178e1808baede1
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date: Mon Oct 29 19:05:09 2012 +0100
Switch to short debhelper
diff --git a/debian/rules b/debian/rules
index 9ef7902..b6222c8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,93 +1,6 @@
#!/usr/bin/make -f
-# -*- makefile -*-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+LDFLAGS+=-Wl,--as-needed
-uversion=$(shell dpkg-parsechangelog | grep ^Version: | cut -d" " -f2 | cut -d- -f1)
-
-configure: configure-stamp
-
-configure-stamp:
- ./configure --prefix=/usr
-
- touch $@
-
-build: build-stamp
-
-build-stamp: configure-stamp
- dh_testdir
- dh_prep
-
- $(MAKE) sdk
- $(MAKE) plugins
- $(MAKE) host
- $(MAKE) rdfgen
-ifneq (, findstring nocheck,$(DEB_BUILD_OPTIONS))
- $(MAKE) test
-endif
- doxygen build/Doxyfile
- docbook-to-man debian/vamp-simple-host.sgml > vamp-simple-host.1
- docbook-to-man debian/vamp-rdf-template-generator.sgml > vamp-rdf-template-generator.1
-
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp
-
- [ -f Makefile ] && $(MAKE) distclean || true
- rm -rf doc
- rm -f vamp-simple-host.1
- rm -f vamp-rdf-template-generator.1
- rm -f config.status config.log Makefile
-
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_prep
- dh_installdirs
-
- $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs -i
- dh_installdocs -i
- dh_compress -i
- dh_fixperms -i
- dh_installdeb -i
- dh_gencontrol -i
- dh_md5sums -i
- dh_builddeb -i
-
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs -a
- dh_installdocs -a
- dh_installexamples -a
- dh_install -a --sourcedir=debian/tmp
- dh_installman -a
- dh_link -a
- dh_strip -a
- dh_compress -a
- dh_fixperms -a
- dh_makeshlibs -a
- dh_installdeb -a
- dh_shlibdeps -a
- dh_gencontrol -a
- dh_md5sums -a
- dh_builddeb -a
-
-binary: binary-indep binary-arch
-
-get-orig-source:
- wget http://downloads.sourceforge.net/vamp/vamp-plugin-sdk-$(uversion).tar.gz
- mv vamp-plugin-sdk-$(uversion).tar.gz vamp-plugin-sdk_$(uversion).orig.tar.gz
-
-.PHONY: build clean binary-indep binary-arch binary install get-orig-source
+%:
+ dh $@
--
vamp-plugin-sdk packaging
More information about the pkg-multimedia-commits
mailing list