summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2015-02-20 14:08:53 -0500
committerRyan Lortie <desrt@desrt.ca>2015-02-20 14:18:45 -0500
commitb59df44b1646dfa6f72e44d57d953a3ae06bc50d (patch)
treebf7a60bcd17ee99458636ed184e10c7389780009
parent94c182407782fbff2e6a6f9de12889c937d2e30c (diff)
downloadm4-common-b59df44b1646dfa6f72e44d57d953a3ae06bc50d.tar.gz
add README
Document what this is, and how people ought to make use of it.
-rw-r--r--README30
1 files changed, 30 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..b76adac
--- /dev/null
+++ b/README
@@ -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