summaryrefslogtreecommitdiff
path: root/utils/hp2ps
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-03-03 22:49:41 +0000
committerIan Lynagh <ian@well-typed.com>2013-03-03 22:52:50 +0000
commit2b85372ca18115bb1d6363256fcea6f54e415bed (patch)
tree1ccbbac74ddbb89430cc07cbdedd9b48a5a44662 /utils/hp2ps
parent8640750e136f98767fc0678b35a20a6fb7970241 (diff)
downloadhaskell-2b85372ca18115bb1d6363256fcea6f54e415bed.tar.gz
Automatically add the $(exeext) to program names
We now define _PROGNAME, and _PROG is automatically defined with $(exeext). This will shortly automatically use the right exeext depending on what stage it is being compiled with (exeext may be different for different stages when cross-compiling).
Diffstat (limited to 'utils/hp2ps')
-rw-r--r--utils/hp2ps/ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/hp2ps/ghc.mk b/utils/hp2ps/ghc.mk
index 097f912dcb..00923d3d78 100644
--- a/utils/hp2ps/ghc.mk
+++ b/utils/hp2ps/ghc.mk
@@ -16,7 +16,7 @@ utils/hp2ps_dist_C_SRCS = AreaBelow.c Curves.c Error.c Main.c \
Axes.c Dimensions.c Key.c PsFile.c Shade.c \
Utilities.c
utils/hp2ps_dist_EXTRA_LIBRARIES = m
-utils/hp2ps_dist_PROG = $(CrossCompilePrefix)hp2ps$(exeext)
+utils/hp2ps_dist_PROGNAME = $(CrossCompilePrefix)hp2ps
utils/hp2ps_dist_INSTALL = YES
utils/hp2ps_dist_INSTALL_INPLACE = YES