archive mirror
 help / color / mirror / Atom feed
* kernelshark: Proper way to install documents when packaging as rpm
@ 2022-10-11 15:15 Zamir SUN
  2022-10-12 16:37 ` Yordan Karadzhov
  0 siblings, 1 reply; 3+ messages in thread
From: Zamir SUN @ 2022-10-11 15:15 UTC (permalink / raw)
  To: linux-trace-users


When I am working on packaging kernelshark as RPM, I noticed that 
kernelshark documents cannot be installed with make
install. My compiling steps is like the following (with the passing of 
compiling flags omitted in this email to reduce length)

cd build
make V=1 all doc

And installation is by

cd build
make V=1 install

Manually running the expanded commands I see there are actually 
documents compiled under Documentation dir. But the make install did not 
copy that. `make list_install_components` shows that

Available install components are: "kernelshark" "libkshark-devel" 

Additionally, simply going into Documentation dir and run make install 
will just result in error

No rule to make target '/Documentation/kernelshark.1'

So I feel this isn't the right way either. So I wonder if I should 
manually copy all the stuff (or a subset?) from Documentation dir into 
the package, or is there a preferred installation step that I missed?

Thanks in advance.
Zamir SUN
Fedora user
GPG : 1D86 6D4A 49CE 4BBD 72CF FCF5 D856 6E11 F2A0 525E

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

end of thread, other threads:[~2022-10-14 11:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-11 15:15 kernelshark: Proper way to install documents when packaging as rpm Zamir SUN
2022-10-12 16:37 ` Yordan Karadzhov
2022-10-14 11:32   ` Zamir SUN

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).