[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: automake1.4/1.6.1 more precise
From: |
Alexandre Duret-Lutz |
Subject: |
Re: automake1.4/1.6.1 more precise |
Date: |
Tue, 23 Apr 2002 16:47:23 +0200 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-debian-linux-gnu) |
>>> "Joerg" == Joerg Anders <address@hidden> writes:
[...]
Joerg> make -f admin/Makefile.common
Joerg> If you now:
Joerg> ./configure --prefix=<path_to_kde3> --with-qt-dir=<path_to_qt3>
Joerg> make
[...]
Joerg> Makefile:405: .deps/main.Po: No such file or directory
Joerg> Makefile:406: .deps/noteedit.Po: No such file or directory
Joerg> Makefile:407: .deps/noteedit_client.Po: No such file or directory
Joerg> Makefile:408: .deps/noteeditpref.Po: No such file or directory
Joerg> Makefile:409: .deps/noteeditview.Po: No such file or directory
This is the same issue as
http://sources.redhat.com/ml/automake/2002-04/msg00057.html
Here admin/Makefile.common post-processes all Makefile.in's
(using the admin/am_edit perl script), and add a new line on top
of each:
| # KDE tags expanded automatically by am_edit - $Revision: 1.4 $
| # Makefile.in generated by automake 1.6.1 from Makefile.am.
| [...]
Unfortunately this fools Automake, as it recognizes its
Makefile.in's by checking whether the *first* line contains
'generated by automake'.
That's easy to fix. For instance edit m4/depout.m4 and change
if (sed 1q $mf | fgrep 'generated by automake') > /dev/null 2>&1; then
to something like
if (sed 15q $mf | fgrep 'generated by automake') > /dev/null 2>&1; then
or even
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
--
Alexandre Duret-Lutz
- automake > 1.4 does not work, Joerg Anders, 2002/04/23
- Re: automake > 1.4 does not work, Richard Boulton, 2002/04/23
- automake1.4/1.6.1 more precise, Joerg Anders, 2002/04/23
- Re: automake1.4/1.6.1 more precise,
Alexandre Duret-Lutz <=
- Thanks! And question!, Joerg Anders, 2002/04/23
- Re: Thanks! And question!, Alexandre Duret-Lutz, 2002/04/23
- automake-1.6.1: both developers try their fixes, Joerg Anders, 2002/04/24
- Re: automake-1.6.1: both developers try their fixes, Alexandre Duret-Lutz, 2002/04/24
- Re: automake-1.6.1: both developers try their fixes, Tom Tromey, 2002/04/24
- Re: automake-1.6.1: both developers try their fixes, Akim Demaille, 2002/04/25
- Re: automake-1.6.1: both developers try their fixes, David Faure, 2002/04/25
- Re: automake-1.6.1: nothing helps, Joerg Anders, 2002/04/25
Re: automake > 1.4 does not work, Lars Hecking, 2002/04/23