Re: [PATCH] do not refresh ratpoison.man.1 with --disable-maintainer-mode
"Bernhard R. Link" <[email protected]>
| Newsgroups | gmane.comp.window-managers.ratpoison.devel |
|---|---|
| Message-ID | <[email protected]> |
* Jérémie Courrèges-Anglas <[email protected]> [140325 11:40]: > 2. you received a tarball, you want to patch the mdoc(7) manpage, but > you want to install the man(7) manpage (really?). > -> Just patch the already shipped man(7) manpage. If you do that (without --disable-maintainer-mode), then you must make sure that you first patch the mdoc manpage and then the other one. Of if you patch both at the same time you need to do a manual touch of the one and then of the other (and if you want to do that portably with all file systems, you need some sleep in between). That's exactly what --disable-maintainer-mode is good for, so that you are able to do patching like that without running into that problems. > I might use AM_MISSING_PROG though, to deal with those cases: > > tmp=`mktemp` && -Tman < ./ratpoison.mdoc.1 > "$tmp" && chmod 0644 "$tmp" && mv "$tmp" ./ratpoison.man.1 > /bin/sh: -Tman: not found > > isn't exactly helpful. Fixing that is of course also nice, but that is an independent problem. Though I wonder is there a system without mdoc support? I'm suprised enough that there is a system without groff, but one without groff and still no mdoc support? Bernhard R. Link -- F8AC 04D5 0B9B 064B 3383 C3DA AFFC 96D1 151D FFDC