wxWidgets/build
Vadim Zeitlin 3f6a19ffab Guard gmake-specific syntax with IF_GNU_MAKE in make_dist.mk.
Debian distribution target uses GNU make extensions to make syntax which makes
the entire makefile impossible to use with other make versions, e.g. Solaris
make.

Fix this by prepending IF_GNU_MAKE to all Debian-specific lines, there should
be never any need to use them with non-GNU make.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-10-23 14:03:53 +00:00
..
aclocal support for GTK3 2012-06-30 20:39:06 +00:00
autoconf_prepend-include
bakefiles Guard gmake-specific syntax with IF_GNU_MAKE in make_dist.mk. 2012-10-23 14:03:53 +00:00
buildbot Added buildbot slave configuration for brandt64. 2012-10-17 00:24:11 +00:00
msw Guard gmake-specific syntax with IF_GNU_MAKE in make_dist.mk. 2012-10-23 14:03:53 +00:00
os2
osx Regenerated Xcode projects. 2012-09-07 20:15:29 +00:00
script Synchronised svn:eol-style and svn:executable properties of some file types. 2012-01-18 18:00:07 +00:00
tools Include gettext MO files in distribution archives. 2012-08-30 09:59:14 +00:00
wince/missing Remove empty PalmOS-related directories. 2012-01-15 13:46:35 +00:00
autogen.mk
README.txt
update-setup-h Add wx/setup.h header for wxGTK build under MSW. 2012-06-12 21:41:59 +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.