groff
[Top][All Lists]
Advanced

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

Re: [Groff] `groff' options for other programs


From: Bernd Warken
Subject: Re: [Groff] `groff' options for other programs
Date: Sun, 28 Apr 2013 15:15:29 +0200 (CEST)

> Von: "Werner LEMBERG" <address@hidden>
> 
> >> > OPTS_WITH_ARG=`echo $OPTS \
> >> > | sed "s/[$OPTS_NO_ARG:]//g"`
> >>
> > 
> > There is no reason to get the `groff' options in the
> > configuration. So I used again
> > `<groff_top>/src/roff/groff/Makefile.sub'.
> 
> [I've sent you a separate mail why `:=' and `$(shell ...)' should be
> avoided in groff Makefiles.]
> 
> > Moreover I could not use `` in GNU make. But
> > $(shell ...) cou;d be used instead.
> 
> Backticks do work in Makefiles.  What's the problem?

As `:=' cannot be used, the right sight isn't run in variable
declaration.  So the backticks in the 3 variables overlap and
make the variables unusable.

I must find another way to program the `Makefile.sub'.

Bernd Warken



reply via email to

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