On Sat, 27 Oct 2012 20:06:52 Adam D. Barratt wrote: > "Cleanup" here appears to mean "drop the explicit build* and binary* > targets". Was it not feasible to fix the issue in a less drastic (for > want of a better word that escapes me currently) manner?
Adam, Unfortunatly not easily. We had a mix-and-match approach with a half-and-half of dh and old style debhelper, so it wasn't clear what was supposed to be going on. We have now greatly simplified with a standard dh approach with just three overrides: #!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow export DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk DEBVERSION:=$(shell head -n 1 debian/changelog \ | sed -e 's/^[^(]*(\([^)]*\)).*/\1/') UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//' -e 's/~dfsg$$//') DFSG:=$(shell echo $(DEBVERSION) | sed -e 's/-[0-9.]*$$//') FILENAME := yate_$(UPVERSION).orig.tar.gz SRCDIR := yate DFSGNAME := yate_$(DFSG).orig.tar.gz URL := http://yate.null.ro/tarballs/yate4/yate-$(UPVERSION).tar.gz %: dh $@ --with autotools_dev,autoreconf --parallel override_dh_auto_configure: dh_auto_configure --\ --without-openh323 --disable-ilbc --without-amrnb --without- coredumper --enable-sctp CFLAGS="$(CFLAGS) $(CPPFLAGS)" override_dh_auto_build-indep: cd share/scripts/yaypm ; python ./setup.py build override_dh_auto_test: Mark
signature.asc
Description: This is a digitally signed message part.