Quoting Santiago Vila ([EMAIL PROTECTED]): > On Tue, 15 Mar 2005, Christian Perrier wrote: > > > > By reading debian/rules, it seems that you are already aware of this, > > > but the way you are trying to fix it does not work. > > > > Any help to solve this will be appreciated as I'm far (far far far) > > from being a deep Makefile wizard. > > > > Most of the stuff in debian/rules comes from stolen ideas in other > > packages..:-) > > I'm not a Makefile wizard either. I discovered this by building the > package for the kfreebsd-i386 architecture. Autobuilders usually > do "dpkg-buildpackage -B", which runs only the binary-arch target. > > I would consider using -a and -i directly on every dh_* call, depending > on the target.
Tollef Fog Heen sent me this patch... --
diff -Nru lifelines-3.0.44/debian/rules lifelines-3.0.44.all.fixed/debian/rules --- lifelines-3.0.44/debian/rules 2005-03-15 12:06:30.553586295 +0100 +++ lifelines-3.0.44.all.fixed/debian/rules 2005-03-15 12:04:26.000000000 +0100 @@ -86,8 +86,8 @@ $(MAKE) touch build-stamp -install: DH_OPTIONS= -install: build +install:: DH_OPTIONS= +install:: build dh_testdir dh_testroot dh_clean -k @@ -129,8 +129,8 @@ # Build architecture-independent files here. # Pass -i to all debhelper commands in this target to reduce clutter. -binary-indep: DH_OPTIONS=-i -binary-indep: build install +binary-indep:: DH_OPTIONS=-i +binary-indep:: build install # Need this version of debhelper for DH_OPTIONS to work. dh_testdir dh_testroot @@ -154,8 +154,8 @@ # Build architecture-dependent files here. # Pass -a to all debhelper commands in this target to reduce clutter. -binary-arch: DH_OPTIONS=-a -binary-arch: build install +binary-arch:: DH_OPTIONS=-a +binary-arch:: build install dh_testdir dh_testroot dh_installdocs @@ -177,3 +177,5 @@ binary: binary-indep binary-arch .PHONY: autotools build clean binary-indep binary-arch binary install patch unpatch + +export DH_OPTIONS