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
|
.PHONY: all-recursive install-recursive clean-recursive
|
||||||
all-recursive install-recursive clean-recursive:
|
all-recursive install-recursive clean-recursive:
|
||||||
|
ifdef SUBDIRS
|
||||||
@target=`echo $@ | sed s/-recursive//`; \
|
@target=`echo $@ | sed s/-recursive//`; \
|
||||||
for subdir in $(SUBDIRS); do \
|
for subdir in $(SUBDIRS); do \
|
||||||
$(call ncmd,recmake) || exit 1; \
|
$(call ncmd,recmake) || exit 1; \
|
||||||
done
|
done
|
||||||
|
endif
|
||||||
|
|
||||||
all: all-recursive all-l
|
all: all-recursive all-l
|
||||||
install: install-recursive install-l
|
install: install-recursive install-l
|
||||||
|
Loading…
x
Reference in New Issue
Block a user