mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-24 17:26:32 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user