(replace_buffer_in_all_windows):
[bpt/emacs.git] / lisp / Makefile
CommitLineData
c7685c8d
PA
1#
2# Maintenance productions for the Lisp directory
3#
c48c3772 4EMACS = emacs
c7685c8d 5SOURCES = *.el COPYING Makefile
65ef095e 6lisptagsfiles = [a-zA-Z]*.el [a-zA-Z]*/[a-zA-Z]*.el
3975988b 7ETAGS = ../lib-src/etags
c7685c8d 8
e51f50ef 9dontcompilefiles: bindings.el blessmail.el bruce.el cus-load.el cus-start.el
36d31689 10dontcompilefiles: forms-d2.el forms-pass.el
65ef095e 11dontcompilefiles: latin-1.el latin-2.el latin-3.el latin-4.el latin-5.el
e51f50ef
RS
12dontcompilefiles: loaddefs.el loadup.el mule-conf.el patcomp.el
13dontcompilefiles: paths.el sc.el subdirs.el term-nasty.el version.el
14
c48c3772
PA
15doit:
16
ff45a04d 17custom-deps: doit
f83a4f35
RS
18 subdirs=`find . -type d -print`; \
19 for file in $$subdirs; do \
20 case $$file in */Old | */RCS) ;; \
21 *) wins="$$wins $$file" ;; \
22 esac; \
23 done; \
24 $(EMACS) -batch -l cus-dep.el -f custom-make-dependencies $$wins
009368b9 25
ff45a04d 26finder-data: doit
f83a4f35
RS
27 subdirs=`find . -type d -print`; \
28 for file in $$subdirs; do \
65ef095e 29 case $$file in */Old | */RCS | */=* ) ;; \
f83a4f35
RS
30 *) wins="$$wins $$file" ;; \
31 esac; \
32 done; \
33 $(EMACS) -batch -l finder -f finder-compile-keywords-make-dist $$wins
009368b9
RS
34
35autoloads: doit
f83a4f35
RS
36 subdirs=`find . -type d -print`; \
37 for file in $$subdirs; do \
65ef095e 38 case $$file in */Old | */RCS | */=* ) ;; \
f83a4f35
RS
39 *) wins="$$wins $$file" ;; \
40 esac; \
41 done; \
42 $(EMACS) -batch -f batch-update-autoloads $$wins
43
98b918b6
RS
44update-subdirs: doit
45 subdirs=`find . -type d -print`; \
46 for file in $$subdirs; do \
65ef095e 47 case $$file in */Old | */RCS | */=* ) ;; \
98b918b6
RS
48 *) wins="$$wins $$file" ;; \
49 esac; \
50 done; \
51 for file in $$wins; do \
52 ../update-subdirs $$file; \
53 done;
54
f83a4f35
RS
55updates: doit
56 subdirs=`find . -type d -print`; \
57 for file in $$subdirs; do \
65ef095e 58 case $$file in */Old | */RCS | */=* ) ;; \
f83a4f35
RS
59 *) wins="$$wins $$file" ;; \
60 esac; \
61 done; \
98b918b6
RS
62 for file in $$wins; do \
63 ../update-subdirs $$file; \
64 done; \
1d0d784f
RS
65 $(EMACS) -batch -l cus-dep.el -f custom-make-dependencies $$wins; \
66 $(EMACS) -batch -l finder -f finder-compile-keywords-make-dist $$wins; \
f83a4f35 67 $(EMACS) -batch -f batch-update-autoloads $$wins
c48c3772 68
c7685c8d 69TAGS: $(lisptagsfiles)
3975988b 70 ${ETAGS} $(lisptagsfiles)