From a18c3cda5c8d1e4556a99110f82e3fb5370f0f90 Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Wed, 7 Sep 2005 10:05:59 +0000 Subject: [PATCH] Specify the extension to an executable dynamically. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10422 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)