On Sun, Feb 07, 1999 at 02:11:09PM -0500, Mitch Blevins wrote: > James Troup wrote: > > Mitch Blevins <[EMAIL PROTECTED]> writes: > > > > > The $64K question is... is this okay? > > > > No; see the fine packaging manual. `build' is a required target for > > debian/rules (3.2.1) and if you omit, your package will be unbuildable > > with dpkg-buildpackage and as result will fail for all the non-i386 > > ports and anyone who tries to build the package from source. > > Thanks for the pointer. I will put in an empty build target to satisfy > this.
Mmmh. Somehow I don't like this... can't you do the following: configure-with-gnome: stamp-conf-w-gnome stamp-conf-w-gnome: -mkdir build-w-gnome cd build-w-gnome && ../configure --with-gnome stamp-conf-w-gnome configure-without-gnome: stamp-conf-wo-gnome stamp-conf-wo-gnome: -mkdir build-w-gnome cd build-w-gnome && ../configure --without-gnome stamp-conf-wo-gnome build: stamp-build stamp-build: configure-with-gnome configure-without-gnome cd build-w-gnome && $(MAKE) cd build-wo-gnome && $(MAKE) touch stamp-build install: stamp-install stamp-install: build cd build-w-gnome && $(MAKE) install prefix=`pwd`/../debian/tmp-w-gnome cd build-wo-gnome && $(MAKE) install prefix=`pwd`/../debian/tmp-wo-gnome The idea is that "build" does the build, "install" the install. If you just provide an empty build and install target for sake of policy, this is probably annoying sometimes to some people who try to sepoerate the build process from the package installing and building process. Thanks, Marcus -- `Rhubarb is no Egyptian god.' Debian http://www.debian.org finger brinkmd@ Marcus Brinkmann GNU http://www.gnu.org master.debian.org [EMAIL PROTECTED] for public PGP Key http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/ PGP Key ID 36E7CD09