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

Adam Spiers <[email protected]> Sat, 7 Feb 2015 19:31:39 +0000
Newsgroups gmane.comp.gnu.stow.bugs
Message-ID <[email protected]>
On Mon, Feb 02, 2015 at 01:27:54PM +0800, Yue Du wrote:
> 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.

Excellent, thanks for catching this and for the fix!

I've pushed it to the savannah and github repos, and it will be in the
next release.