git.iko.soy/typeable/pandoc
on master help sign in
Makefile: instead of testing for existence of pandoc
ad31ae6fiddlosopher
Makefile+2−4
@@ -135,10 +135,8 @@ build-exec: $(PROGS)
135cleanup_files+=$(EXECS)
135cleanup_files+=$(EXECS)
136$(EXECS): build
136$(EXECS): build
137 for f in $@; do \
137 for f in $@; do \
138− [ -f $$f ] || { \
139− find $(BUILDDIR) -type f -name "$$f" \
138+ find $(BUILDDIR) -type f -name "$$f" \
140− -perm +a=x -exec ln -s {} . \; ; \
139+ -perm +a=x -exec ln -s -f {} . \; ; \
141− } \
142 done
140 done
143
141
144.PHONY: build-doc
142.PHONY: build-doc