After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 649084 - Add --force-output to valac
Add --force-output to valac
Status: RESOLVED DUPLICATE of bug 683286
Product: vala
Classification: Core
Component: Code Generator
0.12.x
Other All
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2011-05-01 12:44 UTC by Martin Nordholts
Modified: 2017-02-24 19:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
0001-valac-Add-force-output.patch (9.51 KB, patch)
2011-05-01 12:44 UTC, Martin Nordholts
none Details | Review

Description Martin Nordholts 2011-05-01 12:44:34 UTC
Created attachment 186974 [details] [review]
0001-valac-Add-force-output.patch

When using valac as a code generator in Makefiles, make dependency
tracking becomes messed up if the timestamp of output files is not
updated when they are being rebuilt due to their dependencies being
newer. For example, whenever someclass.h is being rebuilt because
someclass.vala is newer, the timestamep of someclass.h must be updated
even if the file contents are unchanged.

Add a --force-output option to valac that if enabled makes valac
always generates an output file (thus updating its timestamp), even if
it already exists.
Comment 1 Al Thomas 2017-02-24 19:03:42 UTC

*** This bug has been marked as a duplicate of bug 683286 ***