Debianization.
[cfd] / Makefile.am
index 28ed467..3bbec6f 100644 (file)
@@ -1,7 +1,7 @@
 ## Process this file with Automake to generate `Makefile.in'
 ## -*-Makefile-*-
 ##
-## $Id: Makefile.am,v 1.1 1999/05/05 19:23:47 mdw Exp $
+## $Id: Makefile.am,v 1.7 2003/11/09 16:12:11 mdw Exp $
 ##
 ## Building the distribution
 ##
 ##----- Revision history ----------------------------------------------------
 ##
 ## $Log: Makefile.am,v $
-## Revision 1.1  1999/05/05 19:23:47  mdw
-## Initial revision
+## Revision 1.7  2003/11/09 16:12:11  mdw
+## Debianization\!
+##
+## 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
+##
+## Revision 1.4  2003/04/05 09:12:13  mdw
+## Tool for installing manpages.
+##
+## Revision 1.3  2000/08/15 21:37:06  mdw
+## New common library configuration skeleton, filled in by configure.in.
+## Replaces mLib-config etc.
+##
+## Revision 1.2  1999/05/17 20:43:49  mdw
+## Add getdate implementation.
+##
+## Revision 1.1.1.1  1999/05/05 19:23:47  mdw
+## New import.  The old CVS repository was lost in a disk disaster.
 ##
 
 ## --- Options ---
@@ -47,14 +68,28 @@ pkgdata_DATA = \
        COPYING COPYING.LIB INSTALL \
        ansi2knr.1 ansi2knr.c \
        gpl.tex lgpl.tex gpl.texi lgpl.texi texinfo.tex texinice.tex \
-       aclocal.glob \
-       mdwopt.c mdwopt.h
+       lib-config.in \
+       mdwopt.c mdwopt.h \
+       getdate.y getdate.h
 
-EXTRA_DIST = $(pkgdata_DATA)
+EXTRA_DIST = \
+       $(pkgdata_DATA) $(NEWSCRIPTS) \
+       debian/control debian/copyright debian/rules debian/changelog
 
 pkgdata_SCRIPTS = \
        config.guess config.sub elisp-comp install-sh \
-       mdate-sh missing  mkinstalldirs ylwrap
+       mdate-sh missing mkinstalldirs ylwrap $(NEWSCRIPTS)
+
+NEWSCRIPTS = \
+       maninst
+
+install-data-hook:
+       $(srcdir)/mkinstalldirs $(DESTDIR)/$(aclocaldir)
+       $(srcdir)/install-ac install \
+                $(srcdir)/aclocal.glob $(DESTDIR)$(aclocaldir)
+uninstall-hook:
+       $(srcdir)/install-ac rm \
+               $(srcdir)/aclocal.glob $(DESTDIR)$(aclocaldir)
 
 ## --- Documentation ---