Always "make clean" for lisp files before compiling them
commit465adbdae35d737246857e7412ab5ca82b8497f4
authorAchim Gratz <Stromeko@Stromeko.DE>
Sun, 25 Sep 2011 09:17:53 +0000 (25 11:17 +0200)
committerAchim Gratz <Stromeko@Stromeko.DE>
Fri, 20 Apr 2012 19:04:09 +0000 (20 21:04 +0200)
tree7d3dcace2a77a1be68518e10eaac32496786e515
parent236b79da67e46889937e048cf514a6adeff174a9
Always "make clean" for lisp files before compiling them

* Makefile: prepend "make clean" in lisp directory when compiling

Rationale: Emacs prefers the compiled lisp files even if the source is newer.
In case of circular dependencies or if the dependencies file is not correct,
the compiled files might not reflect the sources.  Since there is no canonical
way to remove all compiled files which are stale (it can be hacked, but it is
really ugly), it seems more prudent to just always remove the compiled files
before starting the compilation.  Most folks already already do that anyway.
targets.mk