Re: [Powertop] Fix out of tree builds [Was: PowerTOP v2.6.1 released]

Joerg Mayer <jmpt at loplof.de>
Newsgroups dev.linux.lists.powertop
Message-ID <[email protected]>
Hallo  Alexandra,

On Wed, Jun 04, 2014 at 02:20:18PM -0700, Alexandra Yates wrote:
> Unfortunately the patches you sent don't fix the issue.  Here is how to
> reproduced the issue:
> 1- Applied your patches.
> 2- Generated an new dist/tarball,
> 3- Untared on different location
> 4- Executed: ./autogen; ./configure; make; make clean; make
> 
> The error still points that /bin/bash: ./csstoh.sh: No such file or directory

> make[2]: Entering directory `/home/magd/Downloads/powertop-2.6.1/src'
> /bin/bash ./csstoh.sh ./powertop.css css.h
> /bin/bash: ./csstoh.sh: No such file or directory

Luckily you included your workflow - it contains a bug. As you can see the
system has not picked up the new path (the text ./csstoh.sh no longer exists
in the source). Correct order would be:
1- apply patches
2- ./autogen && ./configure
3- make distcheck
4- cp powertop-2.6.1.tar.gz <wherever>

Ciao
   Jörg
-- 
Joerg Mayer                                           <jmayer(a)loplof.de>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
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.