wxWidgets/build
Vadim Zeitlin 7f75598947 Use rpmbuild to build the RPMs in "make rpm" target.
In recent versions of rpm rpmbuild must be used for building the RPMs instead
of rpm itself.

See #12567.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-10-23 14:09:57 +00:00
..
aclocal Backport fix from bakefile svn for autoconf 2.65. 2010-06-17 22:30:27 +00:00
autoconf_prepend-include replaced with Debian Etch version which has slightly better fseeko() test 2007-07-20 22:00:09 +00:00
bakefiles Use rpmbuild to build the RPMs in "make rpm" target. 2010-10-23 14:09:57 +00:00
buildbot Add debugging info to the trunk Linux builds. 2010-10-22 22:12:00 +00:00
mgl Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
msw Add XRC handler for wxCommandLinkButton. 2010-10-20 23:11:20 +00:00
os2 Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
osx Fix possible errors introduced while generating Xcode project. 2010-09-15 22:13:40 +00:00
palmos fixes for Linux build (part of ticket 4700) 2008-05-27 16:33:12 +00:00
script Remove all obsolete release-generation scripts. 2010-04-12 00:36:52 +00:00
tools Various build tweaks and updates for wxPython 2.9.1.1 2010-09-23 21:05:30 +00:00
wince/missing Warning fix for eVC4 build. 2006-11-27 10:56:37 +00:00
autogen.mk updated list of aclocal m4 files 2008-02-04 13:22:50 +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 update after wx/mac/setup.h rename to wx/osx/setup.h; also order files alphabetically 2008-08-31 17:14:17 +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.