[LTP] [PATCH 1/4] configure: Add missing include/mk/config-openposix.mk reference
rbm@suse.com
rbm@suse.com
Thu Mar 27 22:56:34 CET 2025
From: Ricardo B. Marlière <rbm@suse.com>
The file include/mk/config-openposix.mk should be added to the
AUTOGENERATED_FILES array in include/mk/automake.mk so that it can be
cleaned in the cleaning targets. Also, add a small comment in configure.ac
so it does not happen again.
Cc: Cyril Hrubis <chrubis@suse.cz>
Fixes: 63b6532ff150 ("open_posix_testsuite: Propagate configure params")
Signed-off-by: Ricardo B. Marlière <rbm@suse.com>
---
configure.ac | 2 ++
include/mk/automake.mk | 1 +
2 files changed, 3 insertions(+)
diff --git a/configure.ac b/configure.ac
index 671079f3aa48c72866f69e7c545d3428ba87f931..ddb1f6e4e0787fe4bc4d9729470e52237930a120 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,6 +7,8 @@ AC_CONFIG_AUX_DIR([.])
AM_INIT_AUTOMAKE
AC_CONFIG_HEADERS([include/config.h])
AC_CONFIG_MACRO_DIR([m4])
+
+# Adding files here? Please update include/mk/automake.mk
AC_CONFIG_FILES([ \
include/mk/config.mk \
include/mk/config-openposix.mk \
diff --git a/include/mk/automake.mk b/include/mk/automake.mk
index 79f83a5a2edf2a4a10b7587a36e792397cfb5d64..3df3b4ba99ca865caa89388999e53cbc500615dc 100644
--- a/include/mk/automake.mk
+++ b/include/mk/automake.mk
@@ -76,6 +76,7 @@ ac-maintainer-clean:: ac-distclean
#
AUTOGENERATED_FILES = \
include/mk/config.mk \
+ include/mk/config-openposix.mk \
include/mk/features.mk \
lib/ltp.pc \
m4/Makefile
--
2.49.0
More information about the ltp
mailing list