I have this :
define refresh_proj_bb_sub
$(1)+$(2)+$(3)+$(4) :
cdir='$(CURDIR)' ; \
$(CD) $(SRC_TREE)/$(2)/$(3)/$(4) ;\
for X in $($(call merge,+,$(call uc,$(1)) $(2) $(3) $(4))) ; do
\
if test -f $$$$X ; then \
$(EXEC_LOG) -proj $(2) -bb $(3) $(PVCS_GET)
-v$(3)$(PVCS_VER) $$$$X ; \
fi ; \
done ; \
$(CD) $$$$cdir
endef
When $($(call merge,+,$(call uc,$(1)) $(2) $(3) $(4))) produces the
names of
a variable (a list) and this variable does not exist the result, from
warning, is:
CR inserted for readability
cdir='/home/users/bp1497' ;
cd v0506/SOURCE_TREE/ldb/celltools/pub ;
for X in ;
do
if test -f $X ; then
/home/users/bp1497/exec_log -log
/home/users/bp1497/v0506/log.2010115843
-proj ldb -bb celltools
/home/pvcs/vm/hpux/bin/get -vcelltools05.06.00.00 $X ;
fi ;
done ;
cd $cdir
Notice at the for X in is empty.
This list does not exist.
So how can I set this up to see that the list exists?
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make