linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Add initial support for meson
@ 2022-12-28  8:29 Daniel Wagner
  2022-12-28  8:29 ` [PATCH v3 1/2] libtracecmd: " Daniel Wagner
  2022-12-28  8:29 ` [PATCH v3 2/2] trace-cmd: " Daniel Wagner
  0 siblings, 2 replies; 3+ messages in thread
From: Daniel Wagner @ 2022-12-28  8:29 UTC (permalink / raw)
  To: linux-trace-devel; +Cc: Steven Rostedt, Daniel Wagner

I had to fallback to use a workaround to install the man pages to the
correct directory. Meson insistet to install them into subdirs and
failed to install them when I forced Meson not to do this. I am sure I
am doing something wrong but couldn't figure out what. I think
it's okay to use the workaround until we figured how to do this
'correct'.

Tested this by packaging it up for OpenSUSE and the it looks
reasonable:

https://build.opensuse.org/project/show/home:wagi:branches:devel:tools

Changes:
v3:
  - generate tc_version.h file
  - lib: cleaning up the standalone build vs trace-cmd build
  - s/conf10.set/conf.set10/
  - default build target is debug
  - do not install man pages into subdirs

v2:
  - make audit dependency optional as default
  - integrate static libtracecmd build into trace-cmd directly
  - remove check-manpages target in trace-cmd

v1:
  - initial version

Daniel Wagner (2):
  libtracecmd: Add initial support for meson
  trace-cmd: Add initial support for meson

 Documentation/libtracecmd/install-man.sh.in |  15 ++
 Documentation/libtracecmd/meson.build       | 148 +++++++++++++++++
 Documentation/trace-cmd/install-man.sh.in   |  10 ++
 Documentation/trace-cmd/meson.build         | 167 ++++++++++++++++++++
 lib/Documentation                           |   1 +
 lib/meson.build                             | 112 +++++++++++++
 lib/meson_options.txt                       |  21 +++
 lib/trace-cmd/include/meson.build           |   5 +
 lib/trace-cmd/include/private/meson.build   |  14 ++
 lib/trace-cmd/meson.build                   |  83 ++++++++++
 meson-vcs-tag.sh                            |  17 ++
 meson.build                                 | 144 +++++++++++++++++
 meson_options.txt                           |  25 +++
 python/meson.build                          |  40 +++++
 tracecmd/meson.build                        |  57 +++++++
 utest/meson.build                           |  25 +++
 16 files changed, 884 insertions(+)
 create mode 100755 Documentation/libtracecmd/install-man.sh.in
 create mode 100644 Documentation/libtracecmd/meson.build
 create mode 100755 Documentation/trace-cmd/install-man.sh.in
 create mode 100644 Documentation/trace-cmd/meson.build
 create mode 120000 lib/Documentation
 create mode 100644 lib/meson.build
 create mode 100644 lib/meson_options.txt
 create mode 100644 lib/trace-cmd/include/meson.build
 create mode 100644 lib/trace-cmd/include/private/meson.build
 create mode 100644 lib/trace-cmd/meson.build
 create mode 100755 meson-vcs-tag.sh
 create mode 100644 meson.build
 create mode 100644 meson_options.txt
 create mode 100644 python/meson.build
 create mode 100644 tracecmd/meson.build
 create mode 100644 utest/meson.build

-- 
2.39.0


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

end of thread, other threads:[~2022-12-28  8:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-28  8:29 [PATCH v3 0/2] Add initial support for meson Daniel Wagner
2022-12-28  8:29 ` [PATCH v3 1/2] libtracecmd: " Daniel Wagner
2022-12-28  8:29 ` [PATCH v3 2/2] trace-cmd: " Daniel Wagner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).