[ekiga/gnome-2-26] [windows] Fix debug file name and make non debug by default



commit bbb4c2f417ab8e873b4be5858e2e7d075506ee3c
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Tue May 11 15:22:36 2010 +0200

    [windows] Fix debug file name and make non debug by default

 win32/Makefile |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/win32/Makefile b/win32/Makefile
index 0b40b41..eb1cbf8 100644
--- a/win32/Makefile
+++ b/win32/Makefile
@@ -3,7 +3,7 @@
 # RELEASE: 0=from git/svn, 1=release (tar.gz) for ekiga, ptlib and opal
 RELEASE   := 1
 # DEBUG: 0=release, 1=debug version
-DEBUG     := 1
+DEBUG     := 0
 
 MAKEOPTS  := $(MAKEFLAGS)
 MAKE_LIB_OPTS:=$(MAKEFLAGS)
@@ -80,7 +80,11 @@ ifneq ($(EKIGA_REV),)
 endif
 endif
 EKIGA_PREFIX := $(TARGETDIR)/Ekiga
+ifeq ($(DEBUG),1)
+EKIGA_INSTALLER := ekiga-setup-$(EKIGA_VER)-debug.exe
+else
 EKIGA_INSTALLER := ekiga-setup-$(EKIGA_VER).exe
+endif
 #EKIGA_WIN32_DIFF_DIR := $(CURDIR)/diff
 EKIGA_INSTALLER_DIR := $(EKIGA_DIR)/win32/nsisinstaller
 
@@ -801,8 +805,7 @@ $(TARGETDIR)/$(EKIGA_INSTALLER): $(TARGETDIR)/zips $(LIBDIR)/gtk+-$(GTK_BIN_VER)
 		-DINSTALLER_DIR=$(EKIGA_INSTALLER_DIR) -DLIB_DIR=$(LIBDIR) \
 		-DTARGET_DIR=$(TARGETDIR) -DWITH_GTK=true -DGTK_VERSION=$(GTK_BIN_VER) \
 		-DNSISSYSTEMDIR=$(NSISSYTEM_DIR) -DNSISPLUGINDIR=$(NSISPLUGIN_DIR) \
-		$(EKIGA_INSTALLER_DIR)/ekiga.nsi
-	touch $@
+		-DDEBUG=$(DEBUG) $(EKIGA_INSTALLER_DIR)/ekiga.nsi
 
 clean:
 	$(RM) -rf $(TARGETDIR)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]