diff options
author | roktas <roktas@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2006-11-03 06:15:13 +0000 |
---|---|---|
committer | roktas <roktas@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2006-11-03 06:15:13 +0000 |
commit | 7bbe87af999f7800f59a04e2ce24d9a7b366f60d (patch) | |
tree | 2af1c2bb1e4a99700b614cb93553bd6078ee9f69 | |
parent | 24e56f38c6c73f7fd2aba731820b0b033605610a (diff) | |
download | pandoc-7bbe87af999f7800f59a04e2ce24d9a7b366f60d.tar.gz |
Fix a bug in variable substitution.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@73 788f1e2b-df1e-0410-8736-df70ead52e1b
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; \ |