From: Axel S. <as...@us...> - 2005-04-08 16:00:52
|
Update of /cvsroot/gtk2hs/gtk2hs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28511 Modified Files: ChangeLog Makefile.am Log Message: Add a comment on why make clean builds dependencies. Index: Makefile.am =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/Makefile.am,v retrieving revision 1.68 retrieving revision 1.69 diff -u -d -r1.68 -r1.69 --- Makefile.am 8 Apr 2005 12:10:32 -0000 1.68 +++ Makefile.am 8 Apr 2005 16:00:40 -0000 1.69 @@ -1,6 +1,20 @@ AUTOMAKE_OPTIONS = 1.8 foreign subdir-objects SUFFIXES = .hs.uncpp .chs.pp .chs .hsc .deps .dep MOSTLYCLEANFILES = */*.deps.bak tools/*/*.deps.bak + +# Note about running "make clean" and dependencies: It would be nice if +# "make clean" would clear all dependency files. However, this turns out +# to be a bad idea since cleaning the dependencies mean rebuilding them +# if "make clean" is run again. They shouldn't be rebuilt in the first +# place but that can only be done by not -including the dependency files. +# Unfortunately, automake chokes if we try to use GNU make conditionals. +# We cannot incorporate the conditionals into the dependency building +# rules .deps and .dep in mk/common.mk either since that triggers the +# rebuild of the typeGen and hierarchyGen every second time we run +# a "make clean" that wipes dependencies. Hence we only wipe dependencies +# on "make distclean" and hope that nobody notices that dependencies are +# built when running "make clean" on a clean tree. + CLEANFILES = DISTCLEANFILES = */*.precomp Index: ChangeLog =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/ChangeLog,v retrieving revision 1.453 retrieving revision 1.454 diff -u -d -r1.453 -r1.454 --- ChangeLog 8 Apr 2005 14:42:20 -0000 1.453 +++ ChangeLog 8 Apr 2005 16:00:40 -0000 1.454 @@ -34,6 +34,9 @@ 2005-04-08 Axel Simon <A....@ke...> + * Makefile.am: Add a comment on why make clean builds + dependencies. + * gtk/Graphics/UI/Gtk/Buttons/Button.chs.pp, gtk/Graphics/UI/Gtk/MenuComboToolbar/ComboBox.chs.pp, gtk/Graphics/UI/Gtk/Multiline/TextView.chs.pp, |