public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [RFC PATCH 1/3] Makefile: Add C header with generated LTP version
@ 2023-07-04  9:19 Petr Vorel
  2023-07-04  9:19 ` Petr Vorel
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Petr Vorel @ 2023-07-04  9:19 UTC (permalink / raw)
  To: ltp

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


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2023-07-14  9:25 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-04  9:19 [LTP] [RFC PATCH 1/3] Makefile: Add C header with generated LTP version Petr Vorel
2023-07-04  9:19 ` Petr Vorel
2023-07-04  9:25   ` Petr Vorel
2023-07-13 11:58     ` Cyril Hrubis
2023-07-14  2:54       ` Li Wang
2023-07-14  4:53         ` Petr Vorel
2023-07-14  6:46         ` Cyril Hrubis
2023-07-14  9:25           ` Li Wang
2023-07-04  9:19 ` [LTP] [RFC PATCH 2/3] lib/C-API: Add option -V to print " Petr Vorel
2023-07-04 10:33   ` Cyril Hrubis
2023-07-04 11:50     ` Petr Vorel
2023-07-04 12:04       ` Cyril Hrubis
2023-07-04 12:07         ` Petr Vorel
2023-07-04  9:19 ` [LTP] [RFC PATCH 3/3] lib/C-API: Print LTP version at test start Petr Vorel
2023-07-04  9:26 ` [LTP] [RFC PATCH 1/3] Makefile: Add C header with generated LTP version Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox