]> git.lyx.org Git - features.git/commitdiff
Specify the extension to an executable dynamically.
authorAngus Leeming <leeming@lyx.org>
Wed, 7 Sep 2005 10:05:59 +0000 (10:05 +0000)
committerAngus Leeming <leeming@lyx.org>
Wed, 7 Sep 2005 10:05:59 +0000 (10:05 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10422 a592a061-630c-0410-9148-cb99ea01b6c8

development/Win32/packaging/dtl/Makefile

index e6b9fc199a29deb05b0fc043687864eb749d3cfa..5cf9c8e3840a901e93836d54f1042f491d2aff51 100644 (file)
@@ -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)