*** empty log message ***
[bpt/guile.git] / doc / Makefile.am
index 30fa552..3b05f45 100644 (file)
@@ -1,19 +1,19 @@
 ## Process this file with Automake to create Makefile.in
 ##
-##     Copyright (C) 1998 Free Software Foundation, Inc.
+##     Copyright (C) 1998, 2002 Free Software Foundation, Inc.
 ##
 ##   This file is part of GUILE.
-##   
+##
 ##   GUILE is free software; you can redistribute it and/or modify
 ##   it under the terms of the GNU General Public License as
 ##   published by the Free Software Foundation; either version 2, or
 ##   (at your option) any later version.
-##   
+##
 ##   GUILE is distributed in the hope that it will be useful, but
 ##   WITHOUT ANY WARRANTY; without even the implied warranty of
 ##   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 ##   GNU General Public License for more details.
-##   
+##
 ##   You should have received a copy of the GNU General Public
 ##   License along with GUILE; see the file COPYING.  If not, write
 ##   to the Free Software Foundation, Inc., 59 Temple Place, Suite
@@ -32,12 +32,20 @@ EXAMPLE_SMOB_FILES = \
 OLDFMT = oldfmt.c
 
 dist-hook:
+       cp $(srcdir)/$(OLDFMT) $(distdir)/
        mkdir $(distdir)/example-smob
-       (cd $(srcdir); \
-        cp $(OLDFMT) $(distdir); \
-        dest="`cd $(distdir)/example-smob; pwd`"; \
-         cd example-smob; \
-        cp $(EXAMPLE_SMOB_FILES) $$dest)
+       for f in $(EXAMPLE_SMOB_FILES); do \
+         cp $(srcdir)/example-smob/$$f $(distdir)/example-smob/; \
+        done
+
+EXTRA_DIST = groupings.alist # guile-api.alist
 
 # pending the papers from Robert Merkel
 # EXTRA_DIST = guile.1
+
+if MAINTAINER_MODE
+include $(top_srcdir)/am/maintainer-dirs
+guile-api.alist: guile-api.alist-FORCE
+       ( cd $(top_builddir) ; $(mscripts)/update-guile-api.alist )
+guile-api.alist-FORCE:
+endif