Re: [Powertop] [PATCH] Add csstosh.sh to EXTRA_DIST

Alexandra Yates <alexandra.yates at linux.intel.com>
Newsgroups dev.linux.lists.powertop
Message-ID <[email protected]>
> Since css.h is in CLEANFILES, `make clean' will delete it and thus
> cause the build to fail afterwards due to a missing csstoh.sh to
> regenerate it. Fix this by adding csstoh.sh to EXTRA_DIST which will
> cause it to be included in the tarball.
>
> Signed-off-by: Tobias Klauser <tklauser(a)distanz.ch>
> ---
>  src/Makefile.am |    1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 9d053a4..6886388 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -52,3 +52,4 @@ CLEANFILES = css.h
>  css.h: powertop.css
>  	$(SHELL) ${srcdir}/csstoh.sh ${srcdir}/powertop.css css.h
>
> +EXTRA_DIST = ${srcdir}/csstoh.sh
> --
> 1.7.9.5
>
>
> _______________________________________________
> PowerTop mailing list
> PowerTop(a)lists.01.org
> https://lists.01.org/mailman/listinfo/powertop
>

Hi Tobias,

I tested your patch in two boxes, it did the trick.

Thank you for fixing the bug.

Alexandra.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.