Permalink
Browse files

Prevent crashes when cleaning without building

  • Loading branch information...
oribrost committed Nov 4, 2011
1 parent d0b50df commit 3d30b73b882ec6b72ec1b043af5e6a2b69dcb034
Showing with 5 additions and 1 deletion.
  1. +5 −1 c_src/Makefile
View
@@ -14,7 +14,11 @@ endif
all: $(DEPS)/zeromq2/src/.libs/libzmq.a
clean:
- @cd $(DEPS)/zeromq2; make clean
+ if test -e $(DEPS)/zeromq2/Makefile; then \
+ cd $(DEPS)/zeromq2; make clean; \
+ else \
+ true; \
+ fi
distclean:
@rm -rf $(DEPS)

1 comment on commit 3d30b73

Owner

nivertech commented on 3d30b73 Nov 4, 2011

Can u send them a pull request?

Please sign in to comment.