wxWidgets/build
Robert Roebling 4d5beb1c33 Committed bakefile correction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 09:52:27 +00:00
..
aclocal don't use #error as some compilers ignore it; provoke a real compile error instead 2006-02-12 13:55:19 +00:00
bakefiles Committed bakefile correction. 2006-04-30 09:52:27 +00:00
mgl Build fix after wxColourBase introduction. 2006-04-24 21:05:04 +00:00
msw [ 1473731 ] 'wxColourBase and wxString <-> wxColour implementation' with minor modifications and rebaked build files. 2006-04-24 14:52:23 +00:00
os2 wxOS2 build fixes after wxColourBase introduction. 2006-04-24 16:34:26 +00:00
palmos Build fix after wxColourBase introduction. 2006-04-24 19:44:07 +00:00
script use env var for daily build 2005-09-08 14:02:57 +00:00
.cvsignore
autogen.mk Added simple instructions and autogen.mk to rebuild configure script. 2005-09-20 17:34:28 +00:00
README.txt Added simple instructions and autogen.mk to rebuild configure script. 2005-09-20 17:34:28 +00:00
update-setup-h Keep setup0.h in sync with more ports. 2005-10-17 17:40:36 +00:00

autogen.mk

autogen.mk is a makefile provided to automatically update the GNU autotools
build system.  It will run Bakefile, aclocal, and autoconf as appropriate.

The .m4 files required for running aclocal are located in build/aclocal.
When upgrading software that wxWidgets depends on (for example, Bakefile,
cppunit, GTK, SDL, or others) it is advisable to upgrade the .m4 files
located in the build/aclocal directory.

It is particularly important that if you use a newer version of Bakefile
to generate the Makefile.in files that you use the newer bakefile*.m4.
Because build/autogen.mk is a Makefile it will automatically rerun
aclocal and autoconf as necessary whenever any m4 in build/aclocal is
newer than the generated aclocal.m4.

You can achieve this simply by copying the new bakefile*.m4 files from 
PREFIX/share/aclocal/ into the build/aclocal/ directory and
rerunning make -f build/autogen.mk.  Note that you should _not_ preserve
source file times (don't use cp -p) or else it's possible your .m4 files
will be older than the generated aclocal.m4).
Example:
cp /usr/share/aclocal/bakefile*.m4 build/aclocal/
make -f build/autogen.mk

Please don't forget to commit updated .m4 files as well as updated aclocal.m4,
configure, and Makefile.in files to wxWidgets.