bug-hello
[Top][All Lists]
Advanced

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

FIXED: Building outside source tree directory fails


From: Rene Mueller
Subject: FIXED: Building outside source tree directory fails
Date: Sun, 23 Apr 2006 15:05:21 +0200

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é




reply via email to

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