From b8927e9d1d6776d1e5a0a5d2cf7a1e7658a2598b Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 27 Oct 2012 17:25:34 +0200 Subject: build: use BUILT_SOURCES to properly order text*.h before libhexcommon.a --- src/common/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/common') 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 -- cgit 1.4.1