aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <[email protected]>2011-07-21 12:09:59 +0400
committerHenrik Nord <[email protected]>2011-08-01 16:51:11 +0200
commita863e974b2281046419f60a0c9c2220a9bca83e0 (patch)
treefb501c8f3cd2a8b594deebc6f9f3ee23cbbbe3cb /lib/observer/src
parent07936436b8a8b18b80451a09e040283ebecbd43b (diff)
downloadotp-a863e974b2281046419f60a0c9c2220a9bca83e0.tar.gz
otp-a863e974b2281046419f60a0c9c2220a9bca83e0.tar.bz2
otp-a863e974b2281046419f60a0c9c2220a9bca83e0.zip
Do not install *.bat files on non-win32 machines
Signed-off-by: Peter Lemenkov <[email protected]> Signed-off-by: Hans Ulrich Niedermann <[email protected]>
Diffstat (limited to 'lib/observer/src')
-rw-r--r--lib/observer/src/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/observer/src/Makefile b/lib/observer/src/Makefile
index 2d06cb6bc4..3875b62101 100644
--- a/lib/observer/src/Makefile
+++ b/lib/observer/src/Makefile
@@ -56,13 +56,16 @@ TARGET_FILES= $(MODULES:%=$(EBIN)/%.$(EMULATOR)) $(APP_TARGET) $(APPUP_TARGET)
PRIVDIR= ../priv
WEBTOOLFILES= $(PRIVDIR)/crashdump_viewer.tool
BINDIR= $(PRIVDIR)/bin
+ifeq ($(findstring win32,$(TARGET)),win32)
+WIN32_EXECUTABLES= $(BINDIR)/etop.bat $(BINDIR)/getop.bat $(BINDIR)/cdv.bat
+else
+WIN32_EXECUTABLES=
+endif
EXECUTABLES= \
$(BINDIR)/etop \
$(BINDIR)/getop \
$(BINDIR)/cdv \
- $(BINDIR)/etop.bat \
- $(BINDIR)/getop.bat \
- $(BINDIR)/cdv.bat
+ $(WIN32_EXECUTABLES)
CDVDIR= $(PRIVDIR)/crashdump_viewer
GIF_FILES= \
$(CDVDIR)/collapsd.gif \