[SCM] libmapper/master: Switch packaging to dh
umlaeute at users.alioth.debian.org
umlaeute at users.alioth.debian.org
Sat Dec 10 19:11:18 UTC 2016
The following commit has been merged in the master branch:
commit f3026fb8d4282b6ab1d678bd2ec3c7589b86e5e3
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date: Fri Dec 9 20:18:37 2016 +0100
Switch packaging to dh
diff --git a/debian/rules b/debian/rules
index 87808e2..c63434d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,46 +2,49 @@
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-build: build-arch build-indep
-build-arch: build-stamp
-build-indep: build-stamp
-
-build-stamp:
- dh_testdir
- ./configure --prefix=/usr --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) --with-python
- make
- touch build-stamp
-
-install: build
- dh_testdir
- dh_testroot
- make DESTDIR=`pwd`/debian/tmp install
-
-clean:
- dh_clean
- [ ! -f Makefile ] || make distclean
- rm -rf doc/Makefile doc/libmapper.doxyfile jni/.deps/ jni/Makefile
-
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_install
- dh_installman
- dh_installdocs
- dh_installchangelogs
- dh_strip
- dh_compress
- dh_fixperms
- dh_makeshlibs -V
- dh_perl
- dh_python2 --no-guessing-versions
- 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 $@ --with autoreconf
+
+
+override_dh_auto_configure:
+ dh_auto_configure -- --with-python
+
+#build-stamp:
+# dh_testdir
+# ./configure --prefix=/usr --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) --with-python
+# make
+# touch build-stamp
+#
+#install: build
+# dh_testdir
+# dh_testroot
+# make DESTDIR=`pwd`/debian/tmp install
+#
+#clean:
+# dh_clean
+# [ ! -f Makefile ] || make distclean
+# rm -rf doc/Makefile doc/libmapper.doxyfile jni/.deps/ jni/Makefile
+#
+#binary-arch: build install
+# dh_testdir
+# dh_testroot
+# dh_install
+# dh_installman
+# dh_installdocs
+# dh_installchangelogs
+# dh_strip
+# dh_compress
+# dh_fixperms
+# dh_makeshlibs -V
+# dh_perl
+# dh_python2 --no-guessing-versions
+# 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
+#
+#
--
libmapper packaging
More information about the pkg-multimedia-commits
mailing list