ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] [PATCH] do not refresh ratpoison.man.1 with --disable-maintaine


From: Bernhard R. Link
Subject: Re: [RP] [PATCH] do not refresh ratpoison.man.1 with --disable-maintainer-mode
Date: Tue, 25 Mar 2014 13:01:44 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

* Jérémie Courrèges-Anglas <address@hidden> [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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]