From: Peter Verthez Date: Sun, 3 Nov 2002 10:18:29 +0000 (+0000) Subject: Support for installing m4 macros. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=e0c2eea6d421ae03122d998015eaa68537f7cf2b;p=gedcom-parse.git Support for installing m4 macros. --- 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 +