dccsillag / picom

A lightweight compositor for X11
Other
164 stars 20 forks source link

How to build the doc? #42

Open applejwjcat opened 2 years ago

applejwjcat commented 2 years ago

Hello, I am sorry to bother you. I wonder if there is any way to build the man docs and the example.conf in the share directory ? How to do it ? Thanks for your response!

dccsillag commented 2 years ago

Hello, I am sorry to bother you.

No worries!

I wonder if there is any way to build the man docs and the example.conf in the share directory ? How to do it ?

Honestly, I'm not totally sure. Nothing's changed from upstream in regards to this, so it should be the same.

I vaguely remember there being a build flag that you had to set in order to generate the manpage, I'll see if I can find it.

dccsillag commented 2 years ago

Aha!

https://github.com/yshui/picom/blob/next/meson_options.txt#L14

So you should run

meson configure -Dwith_docs=true

and rebuild. (see https://mesonbuild.com/Build-options.html#using-build-options)