summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--events/src/Makefile.am2
-rw-r--r--libglusterfs/src/Makefile.am2
2 files changed, 2 insertions, 2 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
diff --git a/libglusterfs/src/Makefile.am b/libglusterfs/src/Makefile.am
index d1ffbad5cc7..2d1cb0fdca3 100644
--- a/libglusterfs/src/Makefile.am
+++ b/libglusterfs/src/Makefile.am
@@ -72,7 +72,7 @@ libglusterfs_la_SOURCES += $(CONTRIBDIR)/uuid/clear.c \
endif
-eventtypes.h:
+eventtypes.h: $(top_srcdir)/events/eventskeygen.py
$(PYTHON) $(top_srcdir)/events/eventskeygen.py C_HEADER
if BUILD_EVENTS