build: use BUILT_SOURCES to properly order text*.h before libhexcommon.a

This commit is contained in:
Jan Engelhardt 2012-10-27 17:25:34 +02:00 committed by Berke Viktor
parent 6d27fce863
commit b8927e9d1d
1 changed files with 5 additions and 1 deletions

View File

@ -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