Generally bring up-to-date.
[cfd] / Makefile.am
index 28ed467..7dcce91 100644 (file)
@@ -1,8 +1,6 @@
 ## Process this file with Automake to generate `Makefile.in'
 ## -*-Makefile-*-
 ##
-## $Id: Makefile.am,v 1.1 1999/05/05 19:23:47 mdw Exp $
-##
 ## Building the distribution
 ##
 ## (c) 1997 Mark Wooding
 ## along with `common'; if not, write to the Free Software Foundation,
 ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-##----- Revision history ----------------------------------------------------
-##
-## $Log: Makefile.am,v $
-## Revision 1.1  1999/05/05 19:23:47  mdw
-## Initial revision
-##
-
-## --- Options ---
-
-AUTOMAKE_OPTIONS = foreign
-
 ## --- What needs building ---
 
-bin_SCRIPTS = mklinks findlinks txtlib mkaclocal
+bin_SCRIPTS = mklinks findlinks mdw-setup
 
 ## --- Files to install in the repository ---
 
 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
+       gpl.tex lgpl.tex gpl.texi lgpl.texi texinice.tex \
+       mdwopt.c mdwopt.h \
+       getdate.y getdate.h
 
-EXTRA_DIST = $(pkgdata_DATA)
+EXTRA_DIST = \
+       aclocal.glob \
+       $(pkgdata_DATA) $(pkgdata_SCRIPTS) mdw-setup \
+       debian/control debian/copyright debian/rules debian/changelog
 
 pkgdata_SCRIPTS = \
-       config.guess config.sub elisp-comp install-sh \
-       mdate-sh missing  mkinstalldirs ylwrap
+       install-ac maninst
+
+dist-hook:
+       echo $(VERSION) >$(distdir)/RELEASE
+
+install-data-hook:
+       $(mkinstalldirs) $(DESTDIR)$(aclocaldir)
+       $(srcdir)/install-ac install \
+                $(srcdir)/aclocal.glob $(DESTDIR)$(aclocaldir)
+uninstall-hook:
+       $(srcdir)/install-ac rm \
+               $(srcdir)/aclocal.glob $(DESTDIR)$(aclocaldir)
 
 ## --- Documentation ---