[tasque] [build] Fix release build



commit f2a0d6ca40fb0295f7aee1a9a1134d00c677ef28
Author: Antonius Riha <antoniusriha gmail com>
Date:   Thu Aug 23 14:48:26 2012 +0200

    [build] Fix release build
    
    When tasque is built in release configuration, no mdb files are generated.
    Hence only install them, if it's a debug build.

 src/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 1333464..f9965f4 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -11,6 +11,7 @@ endif
 
 if ENABLE_DEBUG
 CSFLAGS = -debug -d:DEBUG
+MDBFILES = $(TARGET).mdb
 endif
 
 if ENABLE_NOTIFY_SHARP
@@ -175,7 +176,7 @@ $(TARGET): $(CSFILES) Defines.cs
 	$(GTK_2_12_CSFLAGS) $(NOTIFY_SHARP_CSFLAGS) $^ $(ASSEMBLIES) $(RESOURCES)
 
 tasquelibdir = $(libdir)/tasque
-tasquelib_DATA = $(TARGET) $(TARGET).config $(TARGET).mdb
+tasquelib_DATA = $(TARGET) $(TARGET).config $(MDBFILES)
 
 bin_SCRIPTS = $(WRAPPER)
 



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