*** empty log message ***
[bpt/guile.git] / Makefile.in
index f72f8d5..cb071e9 100644 (file)
@@ -19,21 +19,25 @@ VERSION = @GUILE_VERSION@
 SHELL = /bin/sh
 
 srcdir=@srcdir@
-subdirs=@existingdirs@
-dist_dirs=${subdirs} doc
+subdirs=@build_subdirs@
+dist_dirs=@existingdirs@ doc
 
-DISTFILES =    README \
-               ANNOUNCE \
-               INSTALL \
+DISTFILES =    AUTHORS \
                COPYING \
+               ChangeLog \
                GUILE-VERSION \
+               INSTALL \
+               NEWS \
+               README \
                TODO \
+               aclocal.m4 \
                Makefile.in \
                configure \
                configure.in \
                config.sub \
                config.guess \
-               install-sh
+               install-sh \
+               mkinstalldirs
 
 # `all'
 #     Compile the entire program.  This should be the default target.
@@ -110,7 +114,9 @@ distclean:
        rm -f config.cache
        rm -f config.log
        rm -f config.status
+       rm -f config.build-subdirs
        rm -f Makefile
+       rm -f doc/Makefile
        for dir in ${subdirs}; do \
                cd $$dir; \
                ${MAKE} distclean; \
@@ -152,12 +158,18 @@ realclean:
 
 #`TAGS'
 #     Update a tags table for this program.
-TAGS:
-       for dir in ${subdirs}; do \
-               cd $$dir; \
-               ${MAKE} TAGS; \
-               cd ..  ;\
-       done
+#     We could allow each subdirectory to create its own TAGS file,
+#     and then use etags' --include option to incorporate them all by
+#     reference into a top-level TAGS file, but the --include option
+#     seems to be deprecated, and this works fine.
+# 
+#     The extra 'tags' name is useful --- 'make TAGS' won't run the
+#     commands if the file `TAGS' already exists, but `make tags'
+#     doesn't have that problem.
+TAGS tags:
+       etags \
+         --regex='/SCM_PROC[^"]*"[^"]*"/' \
+         `find . -name '*.[ch]' -o -name '*.scm'`
 
 #`info'
 #     Generate any info files needed.  The best way to write the rules