[SCM] sox/master: Simplify rules file.
mira-guest at users.alioth.debian.org
mira-guest at users.alioth.debian.org
Sun Nov 5 21:17:17 UTC 2017
The following commit has been merged in the master branch:
commit 556148390102173faacb0c35590efac4e370b73f
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date: Sun Nov 5 21:56:48 2017 +0100
Simplify rules file.
diff --git a/debian/rules b/debian/rules
index 54eb152..666b051 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,12 @@
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-PREPROCESS_FILES := $(wildcard debian/*.in)
-
-$(PREPROCESS_FILES:.in=): %: %.in
- sed 's,/@DEB_HOST_MULTIARCH@,$(DEB_HOST_MULTIARCH:%=/%),g' $< > $@
+%:
+ dh $@
override_dh_auto_configure:
dh_auto_configure -- --with-distro="$(shell dpkg-vendor --query vendor)" --with-dyn-default --without-ffmpeg
@@ -18,16 +15,8 @@ override_dh_auto_configure:
override_dh_makeshlibs:
dh_makeshlibs -Xfmt
-override_dh_auto_clean:
- dh_auto_clean
- rm -rf $(PREPROCESS_FILES:.in=)
-
override_dh_auto_install: $(PREPROCESS_FILES:.in=)
dh_auto_install
# Force Ubuntu into installing upstream ChangeLog, it contains the
# list of past contributors
dh_installchangelogs ChangeLog
-
-%:
- dh $@
-
--
sox packaging
More information about the pkg-multimedia-commits
mailing list