Hello Bob,

thank you for the reply.

> > Building outside source tree directory fails
> > perl help2man --name="Friendly Greeting Program" ../src/hello >hello.1
> > Can't open perl script "help2man": No such file or directory
> > ...
> > The directive (in man/Makefile.am) obviously cannot work this way
> > hello.1: ../src/hello $(HELP2MAN)
> >    $(PERL) $(HELP2MAN) --name="Friendly Greeting Program" ../src/hello >$@

Changing man/Makefile.am (hello-2.1.1) from

hello.1: ../src/hello $(HELP2MAN)
   $(PERL) $(HELP2MAN) --name="Friendly Greeting Program" ../src/hello >$@

to

hello.1: ../src/hello $(HELP2MAN)
   $(PERL) $(srcdir)/$(HELP2MAN) --name="Friendly Greeting Program"
../src/hello >$@

did the trick. As matter of fact, '$(srcdir)' was the variable I was
looking for. I am scrutinising GNU Hello because I want to use it as a
raw model for my own project that follows the GNU style.


regards,
René



_______________________________________________
http://lists.gnu.org/mailman/listinfo/bug-hello

Reply via email to