]> git.saurik.com Git - wxWidgets.git/blame_incremental - build/README.txt
update the intl.* files directly from genlang.py script instead of generating snippet...
[wxWidgets.git] / build / README.txt
... / ...
CommitLineData
1autogen.mk
2
3autogen.mk is a makefile provided to automatically update the GNU autotools
4build system. It will run Bakefile, aclocal, and autoconf as appropriate.
5
6The .m4 files required for running aclocal are located in build/aclocal.
7When upgrading software that wxWidgets depends on (for example, Bakefile,
8cppunit, GTK, SDL, or others) it is advisable to upgrade the .m4 files
9located in the build/aclocal directory.
10
11It is particularly important that if you use a newer version of Bakefile
12to generate the Makefile.in files that you use the newer bakefile*.m4.
13Because build/autogen.mk is a Makefile it will automatically rerun
14aclocal and autoconf as necessary whenever any m4 in build/aclocal is
15newer than the generated aclocal.m4.
16
17You can achieve this simply by copying the new bakefile*.m4 files from
18PREFIX/share/aclocal/ into the build/aclocal/ directory and
19rerunning make -f build/autogen.mk. Note that you should _not_ preserve
20source file times (don't use cp -p) or else it's possible your .m4 files
21will be older than the generated aclocal.m4).
22Example:
23cp /usr/share/aclocal/bakefile*.m4 build/aclocal/
24make -f build/autogen.mk
25
26Please don't forget to commit updated .m4 files as well as updated aclocal.m4,
27configure, and Makefile.in files to wxWidgets.