1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-26 02:46:13 -04:00

Fix *-recursive targets for old bash versions

Apparently some old bash versions (2.03 atleast) on SunOS is not able to
handle 'for i in $(SUBDIRS); do ... done' when $(SUBDIRS) is empty.
This commit is contained in:
Jonas Fonseca 2005-09-27 19:02:09 +02:00 committed by Jonas Fonseca
parent 249fac4345
commit 6a822b5fd9

View File

@ -70,10 +70,12 @@ endif
.PHONY: all-recursive install-recursive clean-recursive
all-recursive install-recursive clean-recursive:
ifdef SUBDIRS
@target=`echo $@ | sed s/-recursive//`; \
for subdir in $(SUBDIRS); do \
$(call ncmd,recmake) || exit 1; \
done
endif
all: all-recursive all-l
install: install-recursive install-l