summaryrefslogtreecommitdiffstats
path: root/events
diff options
context:
space:
mode:
authorPrasanna Kumar Kalever <prasanna.kalever@redhat.com>2016-08-26 13:49:32 +0530
committerAtin Mukherjee <amukherj@redhat.com>2016-08-26 05:38:00 -0700
commit7d3de1aed87ad9cd519cbc05e744f086760620c4 (patch)
tree1b73e8f6a029be7c174842054913975bb669abb0 /events
parent4786150ebe36154ec0762a951612f66f68a7e95c (diff)
build: fix eventtypes.h generation
make 'eventtypes.py' as dependent i.e. must build eventtypes.h Else the consequence will be like: error: 'EVENT_CLIENT_GRACE_TIMER_START' undeclared (first use in this function) Change-Id: I5fe2491d8d1e0c430b307026695d25475250ae79 BUG: 1370406 Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com> Reviewed-on: http://review.gluster.org/15327 Tested-by: Prasanna Kumar Kalever <pkalever@redhat.com> Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Aravinda VK <avishwan@redhat.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'events')
-rw-r--r--events/src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/events/src/Makefile.am b/events/src/Makefile.am
index d292fbebc12..87282c6c6f7 100644
--- a/events/src/Makefile.am
+++ b/events/src/Makefile.am
@@ -9,7 +9,7 @@ eventsdir = $(libexecdir)/glusterfs/events
events_PYTHON = __init__.py gf_event.py eventsapiconf.py eventtypes.py \
utils.py
-eventtypes.py:
+eventtypes.py: $(top_srcdir)/events/eventskeygen.py
$(PYTHON) $(top_srcdir)/events/eventskeygen.py PY_HEADER
if BUILD_EVENTS