From bcf04aba1bda59fcafdee228af2e1c3544909616 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" <ldv@altlinux.org> Date: Thu, 20 Jul 2017 00:06:06 +0000 Subject: [PATCH] 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. --- scno.am | 1 + tests/Makefile.am | 1 + 2 files changed, 2 insertions(+) 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 -- 2.40.0