summary refs log tree commit diff stats
path: root/src/common/Makefile.am
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@inai.de>2012-10-27 17:25:34 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-27 17:25:34 +0200
commitb8927e9d1d6776d1e5a0a5d2cf7a1e7658a2598b (patch)
tree27f76cae86292cea4f0e98d412888168b187e2c5 /src/common/Makefile.am
parent6d27fce8636821ce1ab6eb5131b26ab99f2d0c90 (diff)
build: use BUILT_SOURCES to properly order text*.h before libhexcommon.a
Diffstat (limited to 'src/common/Makefile.am')
-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