From e0c2eea6d421ae03122d998015eaa68537f7cf2b Mon Sep 17 00:00:00 2001 From: Peter Verthez Date: Sun, 3 Nov 2002 10:18:29 +0000 Subject: [PATCH] Support for installing m4 macros. --- m4/Makefile.am | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/m4/Makefile.am b/m4/Makefile.am index a8d4f3a..f45a506 100644 --- a/m4/Makefile.am +++ b/m4/Makefile.am @@ -1,4 +1,13 @@ ## Process this file with automake to produce Makefile.in # $Id$ # $Name$ -EXTRA_DIST = gedcom.m4 +M4_FILES = gedcom.m4 +EXTRA_DIST = $(M4_FILES) + +install-m4: + @dir=`aclocal --print-ac-dir`; \ + echo "Installing m4 macros in $$dir"; \ + for file in $(M4_FILES); do \ + $(INSTALL) $(srcdir)/$$file $$dir; \ + done + -- 2.30.2