gar.lib.mk still wrong



This logic is wrong.  I've posted a patch previously.
The assignment of INTTLOOLIZE and LIBTOOLIZE are reversed.
A TRUE condition will assign $bindir whereas it should not.
It should be the other way around.

####################   FIXUP RULES   ####################

# [ hack ] re-intltoolize or re-libtoolize packages which need an updated
# version of these.
fixup-%/intltool:
	@echo " ==> Re-intltoolizing $*"
	@if which intltoolize > /dev/null; then \
			INTLTOOLIZE=$(bindir)/intltoolize; \
		else \
			INTLTOOLIZE=$(shell which intltoolize > /dev/null 2>&1); \
		fi; \
	cd $* && $$INTLTOOLIZE --copy --force
	@if test -z $?; then $(MAKECOOKIE); fi

fixup-%/libtool:
	@echo " ==> Re-libtoolizing $*"
	@if which libtoolize > /dev/null; then \
			LIBTOOLIZE=$(bindir)/libtoolize; \
		else \
			LIBTOOLIZE=$(shell which libtoolize > /dev/null 2>&1); \
		fi; \
	cd $* && $$LIBTOOLIZE --copy --force
	@if test -z $?; then $(MAKECOOKIE); fi



--
Peter




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]