Patch for KDE4Macros to use extra target on Windows

Thiago Macieira thiago at kde.org
Sat Jul 19 21:02:45 CEST 2008


Matthias Kretz wrote:
>- With that make does what I want: execute automoc4 once per target on
> every call to make. If automoc4 decides there's nothing to do it
> doesn't touch any files and so make decides not to recompile the output
> file of automoc4.

So you have basically the rule:

target: source
	automoc4 -o target source

and even if automoc4 is run, mtime(source) < mtime(target) ?

Since I don't think that makes sense, I must have misunderstood.

Also note that Windows has a 2-second resolution for mtimes. One second 
after may produce the same timestamp.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20080719/f6903189/attachment.pgp 


More information about the Kde-buildsystem mailing list