summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/common/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/common/Makefile.am b/src/common/Makefile.am
index 22534bdd..3be3b1c6 100644
--- a/src/common/Makefile.am
+++ b/src/common/Makefile.am
@@ -58,5 +58,9 @@ libhexchatcommon_a_SOURCES = cfgfiles.c chanopt.c ctcp.c dcc.c hexchat.c \
 	$(ssl_c) strlutil.c text.c tree.c url.c userlist.c util.c
 libhexchatcommon_a_CFLAGS = $(LIBPROXY_CFLAGS)
 
-textevents: make-te
+textenums.h: textevents.h
+
+textevents.h: textevents.in make-te
 	./make-te < textevents.in > textevents.h 2> textenums.h
+
+BUILT_SOURCES = textenums.h textevents.h