[LTP] [RFC PATCH 1/3] Makefile: Add C header with generated LTP version
Petr Vorel
pvorel@suse.cz
Tue Jul 4 11:19:30 CEST 2023
Hi,
obviously this is wrong, because $(top_srcdir)/Version (ltp-version.h
dependency) is not specified in the top level Makefile (only Version is
there). But I'm not sure if it should be changed to
$(top_srcdir)/Version.
I suppose ltp-version.h should be in include/, but here I'm completely
lost with dependencies under lib/. My goal is to type make in lib/ and
make sure the header is generated (dependencies correctly resolved).
Kind regards,
Petr
Petr Vorel (3):
Makefile: Add C header with generated LTP version
lib/C-API: Add option -V to print LTP version
lib/C-API: Print LTP version at test start
.gitignore | 1 +
lib/Makefile | 4 ++++
lib/tst_test.c | 8 ++++++++
3 files changed, 13 insertions(+)
--
2.40.1
More information about the ltp
mailing list