[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: More on touch-fu (was Re: Re-libtooling + automake)

* Zak B. Elep [Sun, 05 Feb 2006 18:24:14 +0800]:

> Hi Adeodato! :)


> On 1/31/06, Adeodato Simó <dato@net.com.org.es> wrote:

> > Then, if you insist on using touch-fu (I myself prefer it), you should
> > investigate what the right order of the arguments to touch is. For
> > this, running `make -d` and seeing why things are getting regenerated
> > helps.

> Hmmm, I found out that `make -d` can be done _after_ the call to ./configure
> .  However, at reading the good doc at /usr/share/doc/autotools-dev/ , it
> seems that the touch-fu has to be done _before_ the configure call (as the
> doc example shows touching ./configure itself.)  Is this correct, or is
> there some other way?
  You do this: invoke ./configure so that Makefile gets generated. Then,
  if you'd invoke `make`, you'd see how autotools get rerun. So, you run
  `make -d` instead, catch its output, and find out why they're being
  rerun. Then you put the appropriate touch statement in debian/rules,
  clean, and rebuilt. Rinse, repeat.

  Alternatively, you can look in the docs the interdependencies between
  autotools files, and touch them in the correct order.


Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
                                   Listening to: Placebo - Special Needs

Reply to: