Opened 10 years ago

Closed 10 years ago

#659 closed enhancement (fixed)

yat_am_macros (re)create files every time autoconf is run

Reported by: Peter Owned by: Peter
Priority: minor Milestone: yat 0.8
Component: m4 Version: trunk
Keywords: Cc:

Description

The files such as svn_revision.h.in is recreated every time autoconf is created. Updating the time-stamp of this file typically triggers generation of several downstream files and it'd be preferable if the time-stamp only changed if the file content changed. I'd like semantics like generating a temporary file and then something similar to "move-if-change temporary final".

Change History (3)

comment:1 Changed 10 years ago by Peter

Milestone: yat 0.x+yat 0.8
Status: newassigned

comment:2 Changed 10 years ago by Peter

These macros generate svn_revision.h.in, move-if-change, and .am files. Only the first one is typically causing any massive recompilation. Nothing typically depends on move-if-change and updating the .am files just triggers Automake to run a round.

comment:3 Changed 10 years ago by Peter

Resolution: fixed
Status: assignedclosed

(In [2552]) YAT_REVISION_HEADER: avoid updating time-stamp of file.h.in if not needed. closes #659

Note: See TracTickets for help on using tickets.