diff options
author | roktas <roktas@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2006-12-23 12:37:31 +0000 |
---|---|---|
committer | roktas <roktas@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2006-12-23 12:37:31 +0000 |
commit | 2deea0966a2e18ca118261e72425c5575a08911b (patch) | |
tree | 4ed2466f7fe5b4a4df78c93e99151c1efe6ec7f3 | |
parent | c113b24808158de6f915e0f795077bc1a3488c3c (diff) | |
download | pandoc-2deea0966a2e18ca118261e72425c5575a08911b.tar.gz |
Pandoc package didn't contain 'pandoc' executable. This is because we're
using "Simply expanded variables" and PROGS expands before EXECS. Put
PROGS after EXECS to fix this bug. As an alternative solution, we could
make PROGS -and possibly others- "recursively expanded" variables, but I
tend to avoid using that flavour of variables.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@283 788f1e2b-df1e-0410-8736-df70ead52e1b
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -25,12 +25,12 @@ EXECSBASE := $(shell sed -ne 's/^[Ee]xecutable:[[:space:]]*//p' $(CABAL).in) #------------------------------------------------------------------------------- WRAPPERS := web2markdown markdown2pdf SYMLINKS := markdown2html markdown2latex markdown2s5 markdown2rst \ - markdown2rtf html2markdown latex2markdown rst2markdown -PROGS := $(EXECS) $(WRAPPERS) + markdown2rtf html2markdown latex2markdown rst2markdown # Add .exe extensions if we're running Windows/Cygwin. EXTENSION := $(shell uname | tr '[:upper:]' '[:lower:]' | \ sed -ne 's/^cygwin.*$$/\.exe/p') EXECS := $(addsuffix $(EXTENSION),$(EXECSBASE)) +PROGS := $(EXECS) $(WRAPPERS) # First entry in Cabal's executable stanza is the main executable. MAIN := $(firstword $(EXECS)) DOCS := README.html README BUGS |