(defcustom): Get rid of eval-and-compile.
[emacs.git] / lisp / Makefile
blob80cb5c41356f4ad927e417996dba413f451a8e6c
2 # Maintenance productions for the Lisp directory
4 EMACS = emacs
5 SOURCES = *.el COPYING Makefile
6 lisptagsfiles = [a-zA-Z]*.el */[a-zA-Z]*.el
8 doit:
10 custom-deps: doit
11 subdirs=`find . -type d -print`; \
12 for file in $$subdirs; do \
13 case $$file in */Old | */RCS) ;; \
14 *) wins="$$wins $$file" ;; \
15 esac; \
16 done; \
17 $(EMACS) -batch -l cus-dep.el -f custom-make-dependencies $$wins
19 finder-data: doit
20 subdirs=`find . -type d -print`; \
21 for file in $$subdirs; do \
22 case $$file in */Old | */RCS) ;; \
23 *) wins="$$wins $$file" ;; \
24 esac; \
25 done; \
26 $(EMACS) -batch -l finder -f finder-compile-keywords-make-dist $$wins
28 autoloads: doit
29 subdirs=`find . -type d -print`; \
30 for file in $$subdirs; do \
31 case $$file in */Old | */RCS) ;; \
32 *) wins="$$wins $$file" ;; \
33 esac; \
34 done; \
35 $(EMACS) -batch -f batch-update-autoloads $$wins
37 update-subdirs: doit
38 subdirs=`find . -type d -print`; \
39 for file in $$subdirs; do \
40 case $$file in */Old | */RCS) ;; \
41 *) wins="$$wins $$file" ;; \
42 esac; \
43 done; \
44 for file in $$wins; do \
45 ../update-subdirs $$file; \
46 done;
48 updates: doit
49 subdirs=`find . -type d -print`; \
50 for file in $$subdirs; do \
51 case $$file in */Old | */RCS) ;; \
52 *) wins="$$wins $$file" ;; \
53 esac; \
54 done; \
55 for file in $$wins; do \
56 ../update-subdirs $$file; \
57 done; \
58 $(EMACS) -batch -l cus-dep.el -f custom-make-dependencies $$wins \
59 $(EMACS) -batch -l finder -f finder-compile-keywords-make-dist $$wins \
60 $(EMACS) -batch -f batch-update-autoloads $$wins
62 TAGS: $(lisptagsfiles)
63 ../lib-src/etags $(lisptagsfiles)