1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-06 11:55:48 +00:00
emacs/lisp/Makefile
Richard M. Stallman f83a4f3519 (autoloads, custom-deps, finder-data):
Pass all "real" subdirs of lisp/ as args when rebuilding autoloads.
(updates): New target, does all three of those.
1997-05-12 00:51:53 +00:00

50 lines
1.3 KiB
Makefile

#
# 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)