Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#45175 - [plan9port] build HTML manual pages
Attached to Project:
Community Packages
Opened by Neven Sajko (Neven) - Tuesday, 02 June 2015, 17:03 GMT
Last edited by Alexander F. Rødseth (xyproto) - Wednesday, 01 July 2015, 18:22 GMT
Opened by Neven Sajko (Neven) - Tuesday, 02 June 2015, 17:03 GMT
Last edited by Alexander F. Rødseth (xyproto) - Wednesday, 01 July 2015, 18:22 GMT
|
DetailsCould you add
cd "$pkgdir/usr/lib/plan9/dist" 9 mk man to package() in PKGBUILD? |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Wednesday, 01 July 2015, 18:22 GMT
Reason for closing: Implemented
Additional comments about closing: Already included
Wednesday, 01 July 2015, 18:22 GMT
Reason for closing: Implemented
Additional comments about closing: Already included
I tried adding the following:
# Build man pages
export PLAN9="$pkgdir/usr/lib/plan9"
export PATH="$PLAN9/bin:/usr/bin"
cd "$pkgdir/usr/lib/plan9/dist"
9 mk man
But the result was hundreds of lines of: "usage: file [-m] [file...]"
Suggestions for how to best add this are welcome.
I think the problem is that bin/9 hardcodes the PLAN9 dir (i.e. it does not use pkgdir internally).
So the building of HTML manuals should probably be done post_install and post_upgrade or left to the user to do.
I'm really very sorry :(
I must have misread the man page, or it's outdated.