diff --git a/debian/rules b/debian/rules index fd2d375af345225e376a87caa45a94c003c0767d..d7eb2a51e872039140f6b008b86029ee471ee2ab 100755 --- a/debian/rules +++ b/debian/rules @@ -5,14 +5,14 @@ PKD = $(abspath $(dir $(MAKEFILE_LIST))) #PKG = $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog --show-field=Source)) PKG = $(shell dpkg-parsechangelog -l$(PKD)/changelog --show-field=Source) VER ?= $(shell dpkg-parsechangelog -l$(PKD)/changelog | perl -ne 'print $$1 if m{^Version:\s+(?:\d+:)?(\d.*)(?:\-\d+.*)};') -DISTRIB_ID = $(shell grep -hPo "ID=\K.*" /etc/*ease) -DISTRIB_VERSION_ID = $(shell grep -hPo "VERSION_ID=\K.*" /etc/*ease) +DISTRIB_ID = $(shell grep -hPo "^ID=\K.*" /etc/*ease) +DISTRIB_VERSION_ID = $(shell grep -hPo "^VERSION_ID=\K.*" /etc/*ease) # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 %: - dh $@ + dh $@ override_dh_auto_configure: mkdir -p contrib/native && cd contrib/native && ../bootstrap --disable-ogg --disable-flac --disable-vorbis --disable-vorbisenc --disable-speex --disable-sndfile --disable-speexdsp --disable-gnutls && make list && make -j 2