On Mon, Nov 22, 2010 at 17:26:38 -0500, Trevor Woerner wrote:

> From: Trevor Woerner <twoer...@gmail.com>
> 
> Builds user and developer documentation/specifications.
> 
> Signed-off-by: Trevor Woerner <twoer...@gmail.com>
> ---
>  Makefile.am |    7 ++++++-
>  1 files changed, 6 insertions(+), 1 deletions(-)
> 
> diff --git a/Makefile.am b/Makefile.am
> index c2110ec..d0102e8 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -5,7 +5,7 @@ pkgconfig_DATA = ice.pc
>  
>  MAINTAINERCLEANFILES = ChangeLog INSTALL
>  
> -.PHONY: ChangeLog INSTALL
> +.PHONY: ChangeLog INSTALL documents
>  
>  INSTALL:
>       $(INSTALL_CMD)
> @@ -15,6 +15,11 @@ ChangeLog:
>  
>  dist-hook: ChangeLog INSTALL
>  
> +# Generically invoked from build.sh --cmd "make documents"
> +# Builds User's documentation and Developer's documentation/specifications
> +documents:
> +     cd specs && $(MAKE) $(AM_MAKEFLAGS) install
> +

I don't think it's a good idea for a target named 'documents' to install
stuff.  Call it install-specs or something if it's needed, but I'm not
sure what this buys you over 'make -C specs install'.

Cheers,
Julien
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to