[PATCH libXi 3/3] man: remove redundant nodist prefix to libman_DATA

Dan Nicholson dbn.lists at gmail.com
Sat Jan 23 15:37:00 PST 2010


On Sat, Jan 23, 2010 at 12:26 PM, Gaetan Nadon <memsize at videotron.ca> wrote:
> The final, macro substituded, man pages (with file extension .3
> on my platform), are installed, but not distributed. There is no
> need to override the correct default behaviour.
>
> Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
> ---
>  man/Makefile.am |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/man/Makefile.am b/man/Makefile.am
> index baa0492..224143e 100644
> --- a/man/Makefile.am
> +++ b/man/Makefile.am
> @@ -112,11 +112,11 @@ libman_ref = \
>  libman_pre = $(libman_txt:.txt=.man) $(libman_ref)
>
>  if INSTALL_MANPAGES
> -nodist_libman_DATA = $(libman_pre:.man=.$(LIB_MAN_SUFFIX))
> +libman_DATA = $(libman_pre:.man=.$(LIB_MAN_SUFFIX))
>  endif
>
>  EXTRA_DIST = $(libman_txt) $(libman_pre)
> -CLEANFILES = $(nodist_libman_DATA) *.libmansuffix
> +CLEANFILES = $(libman_DATA) *.libmansuffix
>  MAINTAINERCLEANFILES = $(libman_pre) *.xml

We don't actually want libman_DATA to be in CLEANFILES. If you have a
tarball with the generated pages, running "make clean" will destroy
them, and the only way to get them back will be to unpack the tarball
again. They should probably be in MAINTAINERCLEANFILES.

--
Dan


More information about the xorg-devel mailing list