From 2deea0966a2e18ca118261e72425c5575a08911b Mon Sep 17 00:00:00 2001 From: roktas Date: Sat, 23 Dec 2006 12:37:31 +0000 Subject: 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 --- Makefile | 4 ++-- 1 file 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 -- cgit v1.2.3