From 5288f52b9d5668d174d3f47b7b09d0ba6f4d06f3 Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Wed, 7 Sep 2005 10:06:10 +0000 Subject: [PATCH] Specify the extension to an executable dynamically. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@10423 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/Win32/packaging/dtl/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/development/Win32/packaging/dtl/Makefile b/development/Win32/packaging/dtl/Makefile index e6b9fc199a..5cf9c8e384 100644 --- a/development/Win32/packaging/dtl/Makefile +++ b/development/Win32/packaging/dtl/Makefile @@ -24,7 +24,16 @@ COL = col -b CP = /bin/cp DITROFF = ditroff DITROFF = groff -EXEEXT = .exe + +# This is a GNU make extension. +# If you're flavour of make refuses to accept it, +# then simply hardcode EXEEXT. +ifeq ($(WINDIR),) + EXEEXT = +else + EXEEXT = .exe +endif + DT2DV = dt2dv$(EXEEXT) DV2DT = dv2dt$(EXEEXT) EXES = $(DT2DV) $(DV2DT)