view lisp/Makefile @ 17746:e3508d038aee

(autoloads, custom-deps, finder-data): Pass all "real" subdirs of lisp/ as args when rebuilding autoloads. (updates): New target, does all three of those.
author Richard M. Stallman <rms@gnu.org>
date Mon, 12 May 1997 00:51:53 +0000
parents 8ec60a2d3ddb
children 689e217c6c8e
line wrap: on
line source

#
# Maintenance productions for the Lisp directory
#
EMACS = emacs
SOURCES = *.el COPYING Makefile
lisptagsfiles = [a-zA-Z]*.el */[a-zA-Z]*.el

doit:

custom-deps: doit
	subdirs=`find . -type d -print`; \
	for file in $$subdirs; do \
	   case $$file in */Old | */RCS) ;; \
		*) wins="$$wins $$file" ;; \
	   esac; \
        done; \
	$(EMACS) -batch -l cus-dep.el -f custom-make-dependencies $$wins

finder-data: doit
	subdirs=`find . -type d -print`; \
	for file in $$subdirs; do \
	   case $$file in */Old | */RCS) ;; \
		*) wins="$$wins $$file" ;; \
	   esac; \
        done; \
	$(EMACS) -batch -l finder -f finder-compile-keywords-make-dist $$wins

autoloads: doit
	subdirs=`find . -type d -print`; \
	for file in $$subdirs; do \
	   case $$file in */Old | */RCS) ;; \
		*) wins="$$wins $$file" ;; \
	   esac; \
        done; \
	$(EMACS) -batch -f batch-update-autoloads $$wins

updates: doit
	subdirs=`find . -type d -print`; \
	for file in $$subdirs; do \
	   case $$file in */Old | */RCS) ;; \
		*) wins="$$wins $$file" ;; \
	   esac; \
        done; \
	$(EMACS) -batch -l cus-dep.el -f custom-make-dependencies $$wins \
	$(EMACS) -batch -l finder -f finder-compile-keywords-make-dist $$wins \
	$(EMACS) -batch -f batch-update-autoloads $$wins

TAGS: $(lisptagsfiles)
	../lib-src/etags $(lisptagsfiles)