summaryrefslogtreecommitdiff
path: root/Makefile.builds.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.builds.in')
-rw-r--r--Makefile.builds.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.builds.in b/Makefile.builds.in
index 2a51990f2..265556f4d 100644
--- a/Makefile.builds.in
+++ b/Makefile.builds.in
@@ -89,8 +89,12 @@ endif
# symlink the binaries
$(AM_V_at)cd $(CURRENT_BUILD)/bin && \
for binary in $(CVC4_BINARIES); do \
- ln -sf ../src/main/$$binary \
- . ; \
+ if test -x ../src/main/$$binary; then \
+ ln -sf ../src/main/$$binary \
+ . ; \
+ else \
+ rm -f "$$binary"; \
+ fi; \
done
# set up builds/doc and builds/examples
$(AM_V_at)rm -f bin; ln -sf $(CURRENT_BUILD)/bin bin
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback