> > Von: "Werner LEMBERG" <[email protected]>
> >
> > > 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