From: Dmitry V. Levin Date: Thu, 20 Jul 2017 00:06:06 +0000 (+0000) Subject: Add ksysent.h and scno.h to BUILT_SOURCES X-Git-Tag: v4.19~234 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bcf04aba1bda59fcafdee228af2e1c3544909616;p=strace Add ksysent.h and scno.h to BUILT_SOURCES This guarantees that ksysent.h and scno.h, along with other targets listed in BUILT_SOURCES, are made on 'make all', 'make check', and 'make check-valgrind' before other targets are processed. * scno.am (BUILT_SOURCES): Add scno.h. * tests/Makefile.am (BUILT_SOURCES): Add ksysent.h. --- diff --git a/scno.am b/scno.am index ee3db597..f28823bc 100644 --- a/scno.am +++ b/scno.am @@ -41,4 +41,5 @@ scno.h: $(top_srcdir)/scno.head syscallent.i LC_ALL=C sed -n '$(SCNO_SED)' $(filter-out $<,$^) >> $@-t mv $@-t $@ +BUILT_SOURCES += scno.h CLEANFILES += syscallent.i scno.h diff --git a/tests/Makefile.am b/tests/Makefile.am index c394fc78..89f7cd8b 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -387,6 +387,7 @@ clean-local: clean-local-check clean-local-check: -rm -rf -- $(TESTS:.test=.dir) $(GEN_TESTS:.gen.test=.dir) +BUILT_SOURCES = ksysent.h CLEANFILES = ksysent.h include ../scno.am