create_makefile.py interferes with correct revision number report

Bug #815814 reported by Adam Candy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fluidity
Fix Released
Undecided
Unassigned

Bug Description

create_makefile.py explicitly excludes a dependency on include/confdefs.h (create_makefile.py:16), but this is required in the 'main' folder. main/Usage.o depends on include/confdefs.h for updates to the revision numbering.
Related to lp:814839.

Related branches

Revision history for this message
David Ham (david-ham) wrote :

I think the actual problem is putting the version number in confdefs.h.

Confdefs.h should really only contain things set by configure. If the version number were put in version.h or similar and the files in main #included that then make makefiles would include the dependency on that file and all would be well.

The reason that make makefiles currently excludes confdefs.h is exactly because confdefs.h is updated on every build. If it were bot excluded, a large number of files would be spuriously rebuit every time. If the version number went into a different file, the exclusion of confdefs could also be removed.

Adam Candy (asc)
Changed in fluidity:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.