FS#65994 - [fmt] packaged without documentation
Attached to Project:
Arch Linux
Opened by Châu (duongdominhchau) - Friday, 27 March 2020, 11:43 GMT
Last edited by Maxime Gauduin (Alucryd) - Tuesday, 06 September 2022, 14:25 GMT
Opened by Châu (duongdominhchau) - Friday, 27 March 2020, 11:43 GMT
Last edited by Maxime Gauduin (Alucryd) - Tuesday, 06 September 2022, 14:25 GMT
|
Details
Description:
`fmt` is packaged without documentation, but the doc is available upstream and can be built. Before submitting this bug I have tried again to verify that what I write here is relevant. I have inspected the files generated, for some reasons the second Makefile (named `Makefile2`, invoked from the outermost `Makefile`) has no command for target `doc/all`, so it never reach the `Makefile` of `doc` directory. Running `make doc` manually do help, `make install` has no problem and can install the documentation correctly. [Here is my PKGBUILD](https://github.com/01885404983/CustomRepo/blob/master/fmt-git/PKGBUILD). I start with a `PKGBUILD` for general project using CMake (`cmake` then `make`, `make install`), then I apply these changes: - Add `python-virtualenv` to `makedepends` - Add `make doc` to `build()` - (Optional) Install `nodejs-less-plugin-clean-css` (AUR, hence optional). Without this the doc will have ugly header, but is still usable, the text is still there. Steps to reproduce: Install the package `fmt` from extra repo, no documentation available. |
This task depends upon