git.iko.soy/typeable/pandoc
on master help sign in
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

commitad31ae693bb04ad1c35eba9682f1e6cfe1e7fece authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateSat 28 Jul 2007, 03:56 (19 years ago) parent465c084
1 file changed+2−4
Makefile+2−4
Makefile+2−4
@@ -135,10 +135,8 @@ build-exec: $(PROGS)
135135cleanup_files+=$(EXECS)
136136$(EXECS): build
137137 for f in $@; do \
138− [ -f $$f ] || { \
139− find $(BUILDDIR) -type f -name "$$f" \
140− -perm +a=x -exec ln -s {} . \; ; \
141− } \
138+ find $(BUILDDIR) -type f -name "$$f" \
139+ -perm +a=x -exec ln -s -f {} . \; ; \
142140 done
143141
144142.PHONY: build-doc