|
Peter Lemenkov |
96952b |
From 93181c4ef2ddac536849c1abb36ab4a2dd16efba Mon Sep 17 00:00:00 2001
|
|
Peter Lemenkov |
96952b |
From: Peter Lemenkov <lemenkov@gmail.com>
|
|
Peter Lemenkov |
96952b |
Date: Sat, 19 Jun 2010 10:25:29 +0400
|
|
Peter Lemenkov |
96952b |
Subject: [PATCH 09/11] Do not install *.bat files on non-win32 machines
|
|
Peter Lemenkov |
96952b |
|
|
Peter Lemenkov |
96952b |
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
|
|
Peter Lemenkov |
96952b |
---
|
|
Peter Lemenkov |
96952b |
lib/observer/src/Makefile | 8 ++++++--
|
|
Peter Lemenkov |
96952b |
lib/webtool/priv/Makefile | 8 ++++++--
|
|
Peter Lemenkov |
96952b |
2 files changed, 12 insertions(+), 4 deletions(-)
|
|
Peter Lemenkov |
96952b |
|
|
Peter Lemenkov |
96952b |
diff --git a/lib/observer/src/Makefile b/lib/observer/src/Makefile
|
|
Peter Lemenkov |
96952b |
index dde1ea1..fe5eba1 100644
|
|
Peter Lemenkov |
96952b |
--- a/lib/observer/src/Makefile
|
|
Peter Lemenkov |
96952b |
+++ b/lib/observer/src/Makefile
|
|
Peter Lemenkov |
96952b |
@@ -56,11 +56,15 @@ TARGET_FILES= $(MODULES:%=$(EBIN)/%.$(EMULATOR)) $(APP_TARGET) $(APPUP_TARGET)
|
|
Peter Lemenkov |
96952b |
PRIVDIR= ../priv
|
|
Peter Lemenkov |
96952b |
WEBTOOLFILES= $(PRIVDIR)/crashdump_viewer.tool
|
|
Peter Lemenkov |
96952b |
BINDIR= $(PRIVDIR)/bin
|
|
Peter Lemenkov |
96952b |
+ifeq ($(findstring win32,$(TARGET)),win32)
|
|
Peter Lemenkov |
96952b |
+WIN32_EXECUTABLES= $(BINDIR)/etop.bat $(BINDIR)/getop.bat
|
|
Peter Lemenkov |
96952b |
+else
|
|
Peter Lemenkov |
96952b |
+WIN32_EXECUTABLES=
|
|
Peter Lemenkov |
96952b |
+endif
|
|
Peter Lemenkov |
96952b |
EXECUTABLES= \
|
|
Peter Lemenkov |
96952b |
$(BINDIR)/etop \
|
|
Peter Lemenkov |
96952b |
$(BINDIR)/getop \
|
|
Peter Lemenkov |
96952b |
- $(BINDIR)/etop.bat \
|
|
Peter Lemenkov |
96952b |
- $(BINDIR)/getop.bat
|
|
Peter Lemenkov |
96952b |
+ $(WIN32_EXECUTABLES)
|
|
Peter Lemenkov |
96952b |
CDVDIR= $(PRIVDIR)/crashdump_viewer
|
|
Peter Lemenkov |
96952b |
GIF_FILES= \
|
|
Peter Lemenkov |
96952b |
$(CDVDIR)/collapsd.gif \
|
|
Peter Lemenkov |
96952b |
diff --git a/lib/webtool/priv/Makefile b/lib/webtool/priv/Makefile
|
|
Peter Lemenkov |
96952b |
index 56ab772..c29e912 100644
|
|
Peter Lemenkov |
96952b |
--- a/lib/webtool/priv/Makefile
|
|
Peter Lemenkov |
96952b |
+++ b/lib/webtool/priv/Makefile
|
|
Peter Lemenkov |
96952b |
@@ -39,8 +39,12 @@ HTDOCS_FILES = root/doc/index.html \
|
|
Peter Lemenkov |
96952b |
root/doc/tool_management.html \
|
|
Peter Lemenkov |
96952b |
root/doc/start_info.html
|
|
Peter Lemenkov |
96952b |
|
|
Peter Lemenkov |
96952b |
-SCRIPTS = bin/start_webtool \
|
|
Peter Lemenkov |
96952b |
- bin/start_webtool.bat
|
|
Peter Lemenkov |
96952b |
+ifeq ($(findstring win32,$(TARGET)),win32)
|
|
Peter Lemenkov |
96952b |
+WIN32_SCRIPTS= bin/start.bat
|
|
Peter Lemenkov |
96952b |
+else
|
|
Peter Lemenkov |
96952b |
+WIN32_SCRIPTS=
|
|
Peter Lemenkov |
96952b |
+endif
|
|
Peter Lemenkov |
96952b |
+SCRIPTS = bin/start_webtool $(WIN32_SCRIPTS)
|
|
Peter Lemenkov |
96952b |
|
|
Peter Lemenkov |
96952b |
# ----------------------------------------------------
|
|
Peter Lemenkov |
96952b |
# FLAGS
|
|
Peter Lemenkov |
96952b |
--
|
|
Peter Lemenkov |
96952b |
1.7.0.1
|
|
Peter Lemenkov |
96952b |
|