[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Problem Installing groffer
From: |
Keith Marshall |
Subject: |
Re: [Groff] Problem Installing groffer |
Date: |
Sun, 7 Aug 2005 13:21:56 +0100 |
On Sunday 07 August 2005 12:32 pm, Bernd Warken wrote:
> address@hidden schrieb am 07.08.05 12:34:56:
> > When groff is built in a different directory from the source, `make
> > install' fails because groffer2.sh cannot be found. Attached patch fixes
> > this.
>
> Thank you. But why is the same not needed for `groffer'?
groffer is *built*, from groffer.sh via a sed transform. The resultant
groffer script is created in the *build* directory, which is the current
directory when the install target is processed, and so groffer is found
locally.
> $(INSTALL_SCRIPT) groffer $(bindir)/groffer
> - $(INSTALL_SCRIPT) groffer2.sh $(libdir)/groff/groffer/groffer2.sh
> + $(INSTALL_SCRIPT) $(srcdir)/groffer2.sh \
> + $(libdir)/groff/groffer/groffer2.sh
>
> Does it hurt if $(srcdir) is also added to `groffer'?
Yes, because if you do this make will look for groffer in the source
directory, but it isn't there -- it's in the build directory. Thus, the
install target would again fail, this time because groffer would not be found.
Hope this explains it to your satisfaction.
Best regards,
Keith.