Re: Problems for Woody backport: Mozilla is never disabled and others
On Wed, Sep 03, 2003 at 11:23:10AM +0200, Rene Engelhard wrote:
> Chris Halls wrote:
> > It would be better to move copying of the mozilla files into debian/rules,
> > surrounded by a test for MOZILLA=n. I think an install.in makes things even
> > more complicated.
>
> 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.
I'd rather only do it once. Maybe modify this section in debian/rules:
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?
Chris
Reply to: