Put manpages in $(PREFIX)/share/man

Bug #1402044 reported by Ryan Schmidt
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Yavor Nikolov

Bug Description

Would you be willing to accept a patch to move the manpages from $(PREFIX)/man to $(PREFIX)/share/man? If so please see the attached. I have continued the pattern of your existing code, in which each directory in the hierarchy ($(PREFIX)/share, $(PREFIX)/share/man, $(PREFIX)/share/man/man1) is tested individually and created if absent. That's not exactly necessary since you are using "mkdir -p" which creates missing parent directories automatically. However my understanding is that "mkdir -p" is not completely portable and that its use should be avoided, so it might be best to keep the tests for each directory, and to create directories with "mkdir" (not "mkdir -p").

Revision history for this message
Ryan Schmidt (z-launchpad-d) wrote :
Revision history for this message
Yavor Nikolov (yavor-nikolov) wrote :

Yes, sounds pretty reasonable. Thanks for the patch!

Maybe install can be used instead of mkdir and cp. I'm not sure about it's portability though.

Changed in pbzip2:
assignee: nobody → Yavor Nikolov (yavor-nikolov)
importance: Undecided → Low
milestone: none → 1.1.12
status: New → In Progress
Changed in pbzip2:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers