linux-trace-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Zamir SUN <sztsian@gmail.com>
To: Yordan Karadzhov <y.karadz@gmail.com>, linux-trace-users@vger.kernel.org
Subject: Re: kernelshark: Proper way to install documents when packaging as rpm
Date: Fri, 14 Oct 2022 19:32:06 +0800	[thread overview]
Message-ID: <8eedbd7e-61a7-5bc2-a361-39ac676a5ef9@gmail.com> (raw)
In-Reply-To: <05bdedc0-4c4b-dbb3-1ad5-8ef743d74d1e@gmail.com>

Hi Yordan,

Thanks for the info. This also makes sense. As a packager I can still 
decide and chose the files that is useful and manually wrap it into the RPM.

Thanks.

On 10/13/22 00:37, Yordan Karadzhov wrote:
> Hi Zamir,
> 
> We never had a functional installation of the documentation. The 
> documentation itself needs significant amount of work, so I would prefer 
> to keep it only as an option for those enthusiasts who want to build the 
> project from source.
> 
> Thanks!
> Yordan
> 
> 
> On 10/11/22 18:15, Zamir SUN wrote:
>> Hi,
>>
>> 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
>> cmake ..  -DCMAKE_BUILD_TYPE=Package -D_DOXYGEN_DOC=1
>> 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" 
>> "polkit-policy"
>>
>> 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

      reply	other threads:[~2022-10-14 11:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8eedbd7e-61a7-5bc2-a361-39ac676a5ef9@gmail.com \
    --to=sztsian@gmail.com \
    --cc=linux-trace-users@vger.kernel.org \
    --cc=y.karadz@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).