Re: [PATCH] @VERSION@ not substituted in doc/stow.8

Yue Du <[email protected]> Mon, 2 Feb 2015 13:27:54 +0800
Newsgroups gmane.comp.gnu.stow.bugs
Message-ID <CABDK+C0_r4z5Q19uR+r4RyQyh3rW6c5JhBBY34FbvGCYw-uSWg@mail.gmail.com>
On Mon, Feb 2, 2015 at 1:25 PM,  <[email protected]> wrote:
>
> diff --git a/Makefile.am b/Makefile.am
> index c686269..f406bf0 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -144,9 +144,9 @@ lib/Stow.pm: lib/Stow.pm.in $(DEFAULT_IGNORE_LIST) Makefile
>  # The below rules should only be needed by developers.
>  ##############################################################################
>
> -doc/stow.8: bin/stow.in
> +doc/stow.8: bin/stow.in Makefile
>         [ -d doc ] || mkdir doc # required in vpath mode
> -       pod2man $< > $@
> +       $(edit) < $< | pod2man > $@
>
>  # We use automake's built-in rule to generate stow.info.  The built-in
>  # rules would also generate doc/stow.html and doc/stow.pdf, but after


Hi, *

I was using stow 2.2.0 from homebrew and found @VERSION@ was not
substituted in the man page.
Here is a patch, please review.


Regards,
Yue Du