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 03:38:13 +0200 (CEST)

> > Von: "Werner LEMBERG" <address@hidden>
> >
> > > OPTS=`grep ':.*:.*:' groff.cpp \
> > > | sed -e 's/[",]//g'`
> > > OPTS_NO_ARG=`echo $OPTS \
> > > | sed -e 's/[a-zA-Z]://g'`
> > > OPTS_WITH_ARG=`echo $OPTS \
> > > | sed "s/[$BAR:]//g"`
> >
> > Oops! The last two lines should be rather
> >
> > 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 used the 3 `make' variables above. But I used
`:=' for direct access.

Moreover I could not use `` in GNU make. But
$(shell ...) cou;d be used instead.

`make' produces 2 files `groff_opts_noarg.txt' and
`groff_opts_with_arg.txt' that are installed into the
`groff libdir'.

Bernd Warken



reply via email to

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