Better support for custom commands that generate multiple files needed.
David Faure
faure at kde.org
Fri Apr 7 23:35:23 CEST 2006
On Friday 07 April 2006 23:17, Brad King wrote:
> Does anyone know how this works in the old KDE build system?
We had this, and I think it's correct:
field.cpp: addressee.h addressee.cpp
addressee.cpp: addressee.h
addressee.cpp addressee.h field.cpp: [...dependencies...]
mysrcdir=`cd $(srcdir)/scripts && pwd` ;\
cd scripts && $(PERL) $$mysrcdir/makeaddressee
I.e. add "out1.txt: out2txt" to your example (or the other way round), so that only one
of the generated files is rebuilt at a given moment, instead of both of them at the same time.
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the Kde-buildsystem
mailing list