groff
[Top][All Lists]
Advanced

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

Re: [Groff] all man-pages with section number


From: Ralph Corderoy
Subject: Re: [Groff] all man-pages with section number
Date: Tue, 25 Aug 2015 09:06:42 +0100

Hi Bertrand,

This is outside the scope of your patch, but I spotted it in there.

> -      sed -e "s|address@hidden@]|$(appresdir)|g" \
...
> +# .7.man files.  The brackets around the @ are used to prevent the
> +# substitution of the variable by automake.

Rather than a one-character character class for each of the variables,
which are slow, a better way to stop automake spotting it is to end and
start the shell's quoting.

    sed -e "s|@""APPRESDIR@|$(appresdir)|g" \

I'm guessing `@|$...' isn't an automake expansion anyway, but if it is
then the same can happen there.

Cheers, Ralph.



reply via email to

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