[PATCH xinput 1/2] man: Use AC_PROG_SED to find sed

Gaetan Nadon memsize at videotron.ca
Fri Apr 2 10:28:49 PDT 2010


On Fri, 2010-04-02 at 00:30 -0500, Yaakov (Cygwin/X) wrote:

> From: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
> 
> Signed-off-by: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
> ---
>  configure.ac    |    1 +
>  man/Makefile.am |    4 +---
>  2 files changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 32facc7..c50b7b2 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -16,6 +16,7 @@ AM_CONFIG_HEADER(config.h)
>  
>  AC_PROG_CC
>  AC_PROG_INSTALL
> +AC_PROG_SED
>  
> 
>  # Checks for pkg-config packages
> diff --git a/man/Makefile.am b/man/Makefile.am
> index db77de2..7902ff7 100644
> --- a/man/Makefile.am
> +++ b/man/Makefile.am
> @@ -27,8 +27,6 @@ appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
>  EXTRA_DIST = $(appman_PRE)
>  CLEANFILES = $(appman_DATA)
>  
> -SED = sed
> -
>  # Strings to replace in man pages
>  XORGRELSTRING = @PACKAGE_STRING@
>    XORGMANNAME = X Version 11
> @@ -49,5 +47,5 @@ MAN_SUBSTS = \
>  SUFFIXES = .$(APP_MAN_SUFFIX) .man
>  
>  .man.$(APP_MAN_SUFFIX):
> -	sed $(MAN_SUBSTS) < $< > $@
> +	$(SED) $(MAN_SUBSTS) < $< > $@
>  

Acked-by: Gaetan Nadon <memsize at videotron.ca>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100402/51ab4aa5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100402/51ab4aa5/attachment.pgp>


More information about the xorg-devel mailing list