Fix a bug in variable substitution.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@73 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
parent
24e56f38c6
commit
7bbe87af99
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -163,10 +163,10 @@ uninstall-program: uninstall-exec uninstall-doc
|
|||
# Install everything.
|
||||
.PHONY: install-all uninstall-all
|
||||
install-all: install-doc install-lib-doc
|
||||
destdir=$(DESTDIR); destdir=$${destdir:-/}; \
|
||||
destdir=$(DESTDIR); \
|
||||
# Older Cabal versions have no '--destdir' option.
|
||||
if $(BUILDCMD) copy --help | grep -q '\-\-destdir'; then \
|
||||
opt='--destdir=$$destdir'; \
|
||||
opt="--destdir=$${destdir-/}"; \
|
||||
else \
|
||||
opt="--copy-prefix=$${destdir}$(PREFIX)"; \
|
||||
fi; \
|
||||
|
|
Loading…
Add table
Reference in a new issue