aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroktas <roktas@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-12-23 12:37:31 +0000
committerroktas <roktas@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-12-23 12:37:31 +0000
commit2deea0966a2e18ca118261e72425c5575a08911b (patch)
tree4ed2466f7fe5b4a4df78c93e99151c1efe6ec7f3
parentc113b24808158de6f915e0f795077bc1a3488c3c (diff)
downloadpandoc-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--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6350d45d3..c25028fa5 100644
--- a/Makefile
+++ b/Makefile
@@ -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