[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Clean install of groff (cvs): gropdf not in path
From: |
Peter Schaffter |
Subject: |
Re: [Groff] Clean install of groff (cvs): gropdf not in path |
Date: |
Thu, 20 Sep 2012 15:46:04 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Sep 20, 2012, Ivan Shmakov wrote:
> >>>>> Peter Schaffter <address@hidden> writes:
>
> [...]
>
> > groff-current/contrib/mom/Makefile.sub
>
> > PDFMOM=GROFF_COMMAND_PREFIX=''; \
> > export GROFF_COMMAND_PREFIX; \
> > + GROFF_BIN_PATH=$(GROFF_BIN_PATH); \
> > + export GROFF_BIN_PATH; \
> > PDFMOM_BIN_PATH=$(top_builddir)/src/devices/gropdf; \
> > export PDFMOM_BIN_PATH; \
> > $(PDFMOMBIN) $(FFLAG) $(TFLAG)
>
> As per the recent POSIX version [1], I'd simplify that down to:
>
> PDFMOM = \
> GROFF_COMMAND_PREFIX= \
> GROFF_BIN_PATH=$(GROFF_BIN_PATH) \
> PDFMOM_BIN_PATH=$(top_builddir)/src/devices/gropdf \
> $(PDFMOMBIN) $(FFLAG) $(TFLAG)
>
> The same applies to the GROFF variable definition just as well.
>
> [1] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html
Right. "If a variable is initialized from the environment, it shall
be marked for export immediately..." I'll clean this up in the CVS
when I do my next commit.
--
Peter Schaffter
Author of The Binbrook Caucus
http://www.schaffter.ca