automake-patches
[Top][All Lists]
Advanced

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

Re: multilibs


From: Alexandre Duret-Lutz
Subject: Re: multilibs
Date: Wed, 23 Jul 2003 23:08:12 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

>>> "adl" == Alexandre Duret-Lutz <address@hidden> writes:

>>> "Ralf" == Ralf Corsepius <address@hidden> writes:
 adl> [...]

 Ralf> Note the "for dir in Makefile debug; do". I haven't had enough time to
 Ralf> investigate this yet, but this looks suspicious to me.

 adl> This comes directly from config-ml.in.

 adl> 550 multi-clean:
 adl> 551         if [ -z "$(MULTIDIRS)" ]; then \
 adl> 552           true; \
 adl> 553         else \
 adl> 554           lib=`${PWD} | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \
 adl> 555           for dir in Makefile $(MULTIDIRS); do \
 adl> 556             if [ -f ../$${dir}/$${lib}/Makefile ]; then \
 adl> 557               if (cd ../$${dir}/$${lib}; $(MAKE) $(FLAGS_TO_PASS) 
$(DO))
 adl> 557 ; \
 adl> 558               then true; \
 adl> 559               else exit 1; \
 adl> 560               fi; \
 adl> 561             else true; \
 adl> 562             fi; \
 adl> 563           done; \
 adl> 564         fi

 adl> I guess that probably could be

 adl> 555           for dir in $(MULTIDIRS); do \

Unless of course MULTIDIRS is empty :) Makefile just happens to
be a name which is guaranteed not to be a directory.  Nifty.

-- 
Alexandre Duret-Lutz





reply via email to

[Prev in Thread] Current Thread [Next in Thread]