diff options
author | Ryan Lortie <desrt@desrt.ca> | 2015-02-20 14:08:53 -0500 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2015-02-20 14:18:45 -0500 |
commit | b59df44b1646dfa6f72e44d57d953a3ae06bc50d (patch) | |
tree | bf7a60bcd17ee99458636ed184e10c7389780009 /README | |
parent | 94c182407782fbff2e6a6f9de12889c937d2e30c (diff) | |
download | m4-common-b59df44b1646dfa6f72e44d57d953a3ae06bc50d.tar.gz |
add README
Document what this is, and how people ought to make use of it.
Diffstat (limited to 'README')
-rw-r--r-- | README | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -0,0 +1,30 @@ +m4-common is a module to help with the installation of a subset of the +macros from autoconf-archive. Its primary purpose is to be installed +early on, during a jhbuild. + +Macros can be added to the list to be installed when things in the jhbuild +moduleset depend on them. + +This module will never be released as a tarball, so users of these +macros are expected to ensure that they include copies of them within +their own tarball releases. + +This can be accomplished by ensuring that this line is in your +configure.ac: + + AC_CONFIG_MACRO_DIR([m4]) + +and by placing this in your toplevel Makefile.am: + + ACLOCAL_AMFLAGS = --install -I m4 + + +This will cause the macros to be copied into your m4/ directory at autoreconf +time. From there, they will be automatically disted. + + +Eventually, 'aclocal --install' will be automatically run[1] as part of +'autoreconf -i', and the need for the ACLOCAL_AMFLAGS line will be removed, but +this is not supported in the latest released version of autoconf (2.69). + +[1] http://lists.gnu.org/archive/html/autoconf-patches/2012-09/msg00006.html |