Debianization\!
[cfd] / Makefile.am
index 93c225c..3bbec6f 100644 (file)
@@ -1,7 +1,7 @@
 ## Process this file with Automake to generate `Makefile.in'
 ## -*-Makefile-*-
 ##
-## $Id: Makefile.am,v 1.6 2003/09/24 22:45:57 mdw Exp $
+## $Id: Makefile.am,v 1.7 2003/11/09 16:12:11 mdw Exp $
 ##
 ## Building the distribution
 ##
@@ -29,6 +29,9 @@
 ##----- Revision history ----------------------------------------------------
 ##
 ## $Log: Makefile.am,v $
+## 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
@@ -69,7 +72,9 @@ pkgdata_DATA = \
        mdwopt.c mdwopt.h \
        getdate.y getdate.h
 
-EXTRA_DIST = $(pkgdata_DATA) $(NEWSCRIPTS)
+EXTRA_DIST = \
+       $(pkgdata_DATA) $(NEWSCRIPTS) \
+       debian/control debian/copyright debian/rules debian/changelog
 
 pkgdata_SCRIPTS = \
        config.guess config.sub elisp-comp install-sh \
@@ -79,9 +84,12 @@ NEWSCRIPTS = \
        maninst
 
 install-data-hook:
-       $(srcdir)/install-ac install $(srcdir)/aclocal.glob $(aclocaldir)
+       $(srcdir)/mkinstalldirs $(DESTDIR)/$(aclocaldir)
+       $(srcdir)/install-ac install \
+                $(srcdir)/aclocal.glob $(DESTDIR)$(aclocaldir)
 uninstall-hook:
-       $(srcdir)/install-ac rm $(srcdir)/aclocal.glob $(aclocaldir)
+       $(srcdir)/install-ac rm \
+               $(srcdir)/aclocal.glob $(DESTDIR)$(aclocaldir)
 
 ## --- Documentation ---