Update Makefile.am for newer automake
[free-sw/xcb/libxcb] / tests / Makefile.am
index 5926d29..20bdc72 100644 (file)
@@ -4,7 +4,7 @@
 SUBDIRS = 
 EXTRA_DIST = CheckLog.xsl
 AM_MAKEFLAGS = -k
-AM_CFLAGS = -Wall -Werror $(XPROTO_CFLAGS) @CHECK_CFLAGS@ -I$(top_srcdir)/src
+AM_CFLAGS = -Wall -Werror @CHECK_CFLAGS@ -I$(top_srcdir)/src
 LDADD = @CHECK_LIBS@ $(top_builddir)/src/libxcb.la
 
 if HAVE_CHECK
@@ -12,10 +12,7 @@ TESTS = check_all
 check_PROGRAMS = check_all
 check_all_SOURCES =  check_all.c check_suites.h check_public.c
 
-all-local::
-       $(RM) CheckLog*.xml
-
-check-local:
+check-local: check-TESTS
        $(RM) CheckLog.html
        if test x$(HTML_CHECK_RESULT) = xtrue; then \
                $(XSLTPROC) $(srcdir)/CheckLog.xsl CheckLog*.xml > CheckLog.html; \