Re: Good news re: man-db
Bdale Garbee writes:
> What was your approach to doing this? I ran into the same problem (libc5
> junk in the rules file) with bash, which builds the readline libaries. It
debian/rules:
A=$(shell dpkg --print-gnu-build-architecture)
and later I just did ifeq's like this:
build-old:
ifeq ($(A),i386)
$(checkdir)
mkdir $(L5) && cp -a include config lib Makefile $(L5)/
cp -a Imakefile.l5 $(L5)/Imakefile
cp -a site.def.l5 $(L5)/config/cf/site.def
mkdir -p $(L5)/programs/Xserver
cp -a programs/Xserver/include $(L5)/programs/Xserver
(cd $(L5); PATH=/usr/$(A)-linuxlibc1/bin:$$PATH $(MAKE) BOOTSTRAPCFLAGS="$(L5FLAGS)" World >& World.log)
(cd $(L5); PATH=/usr/$(A)-linuxlibc1/bin:$$PATH $(MAKE) BOOTSTRAPCFLAGS="$(L5FLAGS)" install install.man DESTDIR=$(DEBTREEDIR5) >& Install.log)
endif
touch build-old
the build-old rule was already there. So was the A variable. So this
was really the first solution which came to my mind.
Guenter
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-alpha-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: