Support Automake's `aclocal' scheme. Deposit Autoconf fragments in
[cfd] / Makefile.am
index 414f173..93c225c 100644 (file)
@@ -1,7 +1,7 @@
 ## Process this file with Automake to generate `Makefile.in'
 ## -*-Makefile-*-
 ##
-## $Id: Makefile.am,v 1.5 2003/05/15 23:39:15 mdw Exp $
+## $Id: Makefile.am,v 1.6 2003/09/24 22:45:57 mdw Exp $
 ##
 ## Building the distribution
 ##
 ##----- Revision history ----------------------------------------------------
 ##
 ## $Log: Makefile.am,v $
+## Revision 1.6  2003/09/24 22:45:57  mdw
+## Support Automake's `aclocal' scheme.  Deposit Autoconf fragments in
+## `aclocal's' repository.  Apply heinous bodging to `txtlib' and
+## `mkaclocal'.
+##
 ## Revision 1.5  2003/05/15 23:39:15  mdw
 ## Distribute `maninst' script
 ##
@@ -60,7 +65,7 @@ pkgdata_DATA = \
        COPYING COPYING.LIB INSTALL \
        ansi2knr.1 ansi2knr.c \
        gpl.tex lgpl.tex gpl.texi lgpl.texi texinfo.tex texinice.tex \
-       aclocal.glob lib-config.in \
+       lib-config.in \
        mdwopt.c mdwopt.h \
        getdate.y getdate.h
 
@@ -73,6 +78,11 @@ pkgdata_SCRIPTS = \
 NEWSCRIPTS = \
        maninst
 
+install-data-hook:
+       $(srcdir)/install-ac install $(srcdir)/aclocal.glob $(aclocaldir)
+uninstall-hook:
+       $(srcdir)/install-ac rm $(srcdir)/aclocal.glob $(aclocaldir)
+
 ## --- Documentation ---
 
 info_TEXINFOS = common.texi