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

Tobias Klauser <tklauser at distanz.ch>
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
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.