Source: snack Severity: wishlist Tags: patch User: debian...@lists.debian.org Usertags: build-arch-target
Hi, Please see attached patch for an example of how this could be done. Note: A rebuild appears to affect a lot of files in demo/*, changing tcl8.4 to tcl8.5 (or so). I would appreciate if this was fixed as well. :) ~Niels
--- snack-2.2.10-dfsg1/debian/rules +++ snack-2.2.10-dfsg1/debian/rules @@ -74,7 +74,9 @@ cd unix ; rm -f snackConfig.sh pkgIndex.tcl cd python; rm -rf build -build: $(install_target) +build: build-arch build-indep +build-arch: $(install_target) +build-indep: $(install_target) build-stamp: patch-stamp dh_testdir @@ -209,3 +211,3 @@ -.PHONY: patch unpatch build clean clean-build clean-intermediate binary-oss binary-alsa +.PHONY: patch unpatch build build-arch build-indep clean clean-build clean-intermediate binary-oss binary-alsa .PHONY: binary-indep binary-arch binary install-indep get-orig-source --- snack-2.2.10-dfsg1/debian/changelog +++ snack-2.2.10-dfsg1/debian/changelog @@ -1,3 +1,10 @@ +snack (2.2.10-dfsg1-12.1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Added build-arch and build-indep targets to debian/rules. + + -- Niels Thykier <ni...@thykier.net> Thu, 10 Nov 2011 13:00:38 +0100 + snack (2.2.10-dfsg1-12) unstable; urgency=low * Fixed FTBFS for non-linux architectures.