summaryrefslogtreecommitdiffstats
path: root/events/tools
diff options
context:
space:
mode:
Diffstat (limited to 'events/tools')
-rw-r--r--events/tools/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/events/tools/Makefile.am b/events/tools/Makefile.am
index 7d5e331e4e1..fb6770cf070 100644
--- a/events/tools/Makefile.am
+++ b/events/tools/Makefile.am
@@ -1,3 +1,6 @@
+EXTRA_DIST = eventsdash.py
+
+if BUILD_EVENTS
scriptsdir = $(datadir)/glusterfs/scripts
scripts_SCRIPTS = eventsdash.py
-EXTRA_DIST = eventsdash.py
+endif