mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-27 09:55:57 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user