aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-07-28 03:56:27 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-07-28 03:56:27 +0000
commitad31ae693bb04ad1c35eba9682f1e6cfe1e7fece (patch)
tree5a23dd9c1862570369f8b8d9cf4989dcbeda0659
parent465c0849ff6be236f5613ef091550399552cd505 (diff)
downloadpandoc-ad31ae693bb04ad1c35eba9682f1e6cfe1e7fece.tar.gz
Makefile: instead of testing for existence of pandoc
symlink in build-exec, use the -f option in ln. git-svn-id: https://pandoc.googlecode.com/svn/trunk@814 788f1e2b-df1e-0410-8736-df70ead52e1b
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index f4852082a..8e163dc8c 100644
--- a/Makefile
+++ b/Makefile
@@ -135,10 +135,8 @@ build-exec: $(PROGS)
cleanup_files+=$(EXECS)
$(EXECS): build
for f in $@; do \
- [ -f $$f ] || { \
- find $(BUILDDIR) -type f -name "$$f" \
- -perm +a=x -exec ln -s {} . \; ; \
- } \
+ find $(BUILDDIR) -type f -name "$$f" \
+ -perm +a=x -exec ln -s -f {} . \; ; \
done
.PHONY: build-doc