Hi, Chris Halls wrote: > On Wed, Sep 03, 2003 at 11:23:10AM +0200, Rene Engelhard wrote: > > or add -Xfoo -Xbar to dh_install depending what MOZILLA is set to... > > That ends up with you having to list all those files in two places, once in > rules and once in .install.
Not really since -X doesn't need the full filenames... ifeq "$(MOZILLA)" "n" MOZILLAFILES_EXCLUDE=-Xcomponents -Xlibldap50.so -Xlibmoz \ -Xlibmsgbaseutil.so -Xlibnspr4.so -Xlibpl -Xlibprldap50.so \ -Xlibxpcom.so -Xjs endif I tested that it only affects the files we want. > I'd rather only do it once. Maybe modify this section in debian/rules: Hmm. > ifeq "$(ARCH)" "i386" > cp -rf $(PKGOPENOFFICEDIR)/program/libmozab2.so \ > $(MAINPKGDIR)-bin/$(OPENOFFICEDIR)/program/libmozab2.so > cp -rf $(PKGOPENOFFICEDIR)/program/libmozabdrv2.so \ > $(MAINPKGDIR)-bin/$(OPENOFFICEDIR)/program/libmozabdrv2.so > endif > > Add in a MOZILLA test and the other files? ifneq "$(MOZILLA)" "n" ifeq "$(ARCH)" "i386" [ see above ] endif cp's of mozilla's endif Something like that I suppose you mean, no? Grüße/Regards, René -- .''`. René Engelhard -- Debian GNU/Linux Developer : :' : http://www.debian.org | http://people.debian.org/~rene/ `. `' [EMAIL PROTECTED] | GnuPG-Key ID: 248AEB73 `- Fingerprint: 41FA F208 28D4 7CA5 19BB 7AD9 F859 90B0 248A EB73
pgpIfkFGzn1Vl.pgp
Description: PGP signature