[Geany-devel] {datetime} & {date} are updated only after config reload

Colomban Wendling lists.ban at xxxxx
Sun Apr 24 01:39:06 UTC 2011


Le 24/04/2011 02:32, Thomas Martitz a écrit :
> Am 23.04.2011 22:37, schrieb Liviu Andronic:
>> Right, distclean! I only fancied make clean. Now it worked.
>>
>> The {datetime}&  {date} templates seem to be updated, as expected,
>> upon inserting. Thanks!
>> Liviu
>>
> 
> That "make clean" worked was would have been my expecation too. Is
> something wrong with the build system?

I'm not really sure, but it seems the Autotools had some problems
dealing with major refactoring (all build system under scintilla changed
around the end of 2010 IIRC), failing to detect properly the need to
regenerate itself.
I'm no Autotools guru [1], so I can't tell whether it's a problem in the
Autotools side or if we did something wrong at some point; all I can say
is that the build system looks well formed to me (well, I haven't done a
review, but still), and that forcing the regeneration fixes the problem
-- so it at least work ^^

Finally, note that "make clean" only removes files generated at build
time (.o, .lo, etc) but not in any case any of the build system
files. Distclean, however, removes all the parts of the build system
that are generated on configuration, in order to get a fresh build
system that only waits to be configured (as a distribution tarball
expects it) -- meaning it removes Makefiles, config.h, etc.
See http://www.gnu.org/software/automake/manual/automake.html#Clean for
details.

Cheers,
Colomban


[1] Though I'm happy to start knowing it quite well with the time :)



More information about the Devel mailing list