mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05: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:
parent
249fac4345
commit
6a822b5fd9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user