Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Solaris-friendly change: Solaris's test(1) does not understand

the "-e" file test, so change them to "-f" tests.
  • Loading branch information...
commit bf0471d7f112b9b03417cd9e2be541a7b87503a0 1 parent 2062ee4
slfritchie authored
Showing with 4 additions and 3 deletions.
  1. +1 −1  Makefile
  2. +3 −2 lib/Makefile
View
2  Makefile
@@ -6,7 +6,7 @@ clean:
$(LIBS): conf $(MK_INCLUDE)
# Build a program, unless it has a file called SKIP in its top directory
- if [ ! -e lib/$@/SKIP ]; then (cd lib/$@; $(MAKE) all); fi
+ if [ ! -f lib/$@/SKIP ]; then (cd lib/$@; $(MAKE) all); fi
$(MK_INCLUDE): $(MK_INCLUDE).in
$(MAKE) conf
View
5 lib/Makefile
@@ -6,6 +6,7 @@ LIBS := \
erl_cgi \
ermacs \
ex11 \
+ gd1_drv \
slang \
lersp \
measurement \
@@ -26,13 +27,13 @@ all: $(LIBS)
clean:
@for dir in $(LIBS); do \
- if [ ! -e $@/SKIP ]; then \
+ if [ ! -f $@/SKIP ]; then \
(cd $$dir; $(MAKE) $@) \
fi \
done
$(LIBS):
- @if [ ! -e $@/SKIP ]; then \
+ @if [ ! -f $@/SKIP ]; then \
(cd $@; $(MAKE) all) \
fi
Please sign in to comment.
Something went wrong with that request. Please try again.