Mercurial > emacs
annotate lisp/Makefile @ 21834:8ba41a7b6464
(*, **, ***): Add defvars.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 29 Apr 1998 05:20:31 +0000 |
parents | ed07a8592f60 |
children | e37aa6f8f583 |
rev | line source |
---|---|
17392 | 1 # |
2 # Maintenance productions for the Lisp directory | |
3 # | |
17394
b793e8f5a9c2
Added cus-load.el target.
Per Abrahamsen <abraham@dina.kvl.dk>
parents:
17392
diff
changeset
|
4 EMACS = emacs |
17392 | 5 SOURCES = *.el COPYING Makefile |
18482
9c5e6b1dafc5
(lisptagsfiles): Look at subdirs only if name
Richard M. Stallman <rms@gnu.org>
parents:
17942
diff
changeset
|
6 lisptagsfiles = [a-zA-Z]*.el [a-zA-Z]*/[a-zA-Z]*.el |
18962 | 7 ETAGS = ../lib-src/etags |
17392 | 8 |
17903
aa26c694525e
(dontcompilefiles): Add list of files that should not be byte-compiled.
Richard M. Stallman <rms@gnu.org>
parents:
17748
diff
changeset
|
9 dontcompilefiles: bindings.el blessmail.el bruce.el cus-load.el cus-start.el |
19157
5dada86a0c63
(dontcompilefiles): Delete cyril-util.el.
Richard M. Stallman <rms@gnu.org>
parents:
18962
diff
changeset
|
10 dontcompilefiles: forms-d2.el forms-pass.el |
18482
9c5e6b1dafc5
(lisptagsfiles): Look at subdirs only if name
Richard M. Stallman <rms@gnu.org>
parents:
17942
diff
changeset
|
11 dontcompilefiles: latin-1.el latin-2.el latin-3.el latin-4.el latin-5.el |
17903
aa26c694525e
(dontcompilefiles): Add list of files that should not be byte-compiled.
Richard M. Stallman <rms@gnu.org>
parents:
17748
diff
changeset
|
12 dontcompilefiles: loaddefs.el loadup.el mule-conf.el patcomp.el |
aa26c694525e
(dontcompilefiles): Add list of files that should not be byte-compiled.
Richard M. Stallman <rms@gnu.org>
parents:
17748
diff
changeset
|
13 dontcompilefiles: paths.el sc.el subdirs.el term-nasty.el version.el |
aa26c694525e
(dontcompilefiles): Add list of files that should not be byte-compiled.
Richard M. Stallman <rms@gnu.org>
parents:
17748
diff
changeset
|
14 |
17394
b793e8f5a9c2
Added cus-load.el target.
Per Abrahamsen <abraham@dina.kvl.dk>
parents:
17392
diff
changeset
|
15 doit: |
b793e8f5a9c2
Added cus-load.el target.
Per Abrahamsen <abraham@dina.kvl.dk>
parents:
17392
diff
changeset
|
16 |
17743
8ec60a2d3ddb
(custom-deps): Target renamed from cus-load.el.
Richard M. Stallman <rms@gnu.org>
parents:
17399
diff
changeset
|
17 custom-deps: doit |
17746
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
18 subdirs=`find . -type d -print`; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
19 for file in $$subdirs; do \ |
21753
1d6cc4a65d70
(custom-deps): Ignore =... subdirs.
Richard M. Stallman <rms@gnu.org>
parents:
19168
diff
changeset
|
20 case $$file in */Old | */RCS | */=* ) ;; \ |
17746
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
21 *) wins="$$wins $$file" ;; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
22 esac; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
23 done; \ |
21756
ed07a8592f60
(custom-deps, updates): Allow cus-dep to be compiled.
Richard M. Stallman <rms@gnu.org>
parents:
21753
diff
changeset
|
24 echo Directories: $$wins; \ |
ed07a8592f60
(custom-deps, updates): Allow cus-dep to be compiled.
Richard M. Stallman <rms@gnu.org>
parents:
21753
diff
changeset
|
25 $(EMACS) -batch -l cus-dep -f custom-make-dependencies $$wins |
17399
04fc73bb3416
(finder-inf.el, autoloads): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
17394
diff
changeset
|
26 |
17743
8ec60a2d3ddb
(custom-deps): Target renamed from cus-load.el.
Richard M. Stallman <rms@gnu.org>
parents:
17399
diff
changeset
|
27 finder-data: doit |
17746
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
28 subdirs=`find . -type d -print`; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
29 for file in $$subdirs; do \ |
18482
9c5e6b1dafc5
(lisptagsfiles): Look at subdirs only if name
Richard M. Stallman <rms@gnu.org>
parents:
17942
diff
changeset
|
30 case $$file in */Old | */RCS | */=* ) ;; \ |
17746
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
31 *) wins="$$wins $$file" ;; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
32 esac; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
33 done; \ |
21756
ed07a8592f60
(custom-deps, updates): Allow cus-dep to be compiled.
Richard M. Stallman <rms@gnu.org>
parents:
21753
diff
changeset
|
34 echo Directories: $$wins; \ |
17746
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
35 $(EMACS) -batch -l finder -f finder-compile-keywords-make-dist $$wins |
17399
04fc73bb3416
(finder-inf.el, autoloads): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
17394
diff
changeset
|
36 |
04fc73bb3416
(finder-inf.el, autoloads): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
17394
diff
changeset
|
37 autoloads: doit |
17746
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
38 subdirs=`find . -type d -print`; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
39 for file in $$subdirs; do \ |
18482
9c5e6b1dafc5
(lisptagsfiles): Look at subdirs only if name
Richard M. Stallman <rms@gnu.org>
parents:
17942
diff
changeset
|
40 case $$file in */Old | */RCS | */=* ) ;; \ |
17746
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
41 *) wins="$$wins $$file" ;; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
42 esac; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
43 done; \ |
21756
ed07a8592f60
(custom-deps, updates): Allow cus-dep to be compiled.
Richard M. Stallman <rms@gnu.org>
parents:
21753
diff
changeset
|
44 echo Directories: $$wins; \ |
17746
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
45 $(EMACS) -batch -f batch-update-autoloads $$wins |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
46 |
17748
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
47 update-subdirs: doit |
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
48 subdirs=`find . -type d -print`; \ |
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
49 for file in $$subdirs; do \ |
18482
9c5e6b1dafc5
(lisptagsfiles): Look at subdirs only if name
Richard M. Stallman <rms@gnu.org>
parents:
17942
diff
changeset
|
50 case $$file in */Old | */RCS | */=* ) ;; \ |
17748
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
51 *) wins="$$wins $$file" ;; \ |
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
52 esac; \ |
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
53 done; \ |
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
54 for file in $$wins; do \ |
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
55 ../update-subdirs $$file; \ |
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
56 done; |
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
57 |
17746
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
58 updates: doit |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
59 subdirs=`find . -type d -print`; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
60 for file in $$subdirs; do \ |
18482
9c5e6b1dafc5
(lisptagsfiles): Look at subdirs only if name
Richard M. Stallman <rms@gnu.org>
parents:
17942
diff
changeset
|
61 case $$file in */Old | */RCS | */=* ) ;; \ |
17746
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
62 *) wins="$$wins $$file" ;; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
63 esac; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
64 done; \ |
17748
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
65 for file in $$wins; do \ |
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
66 ../update-subdirs $$file; \ |
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
67 done; \ |
21756
ed07a8592f60
(custom-deps, updates): Allow cus-dep to be compiled.
Richard M. Stallman <rms@gnu.org>
parents:
21753
diff
changeset
|
68 echo Directories: $$wins; \ |
ed07a8592f60
(custom-deps, updates): Allow cus-dep to be compiled.
Richard M. Stallman <rms@gnu.org>
parents:
21753
diff
changeset
|
69 $(EMACS) -batch -l cus-dep -f custom-make-dependencies $$wins; \ |
19168
8b79ec97982b
(updates): Add missing semicolons.
Richard M. Stallman <rms@gnu.org>
parents:
19157
diff
changeset
|
70 $(EMACS) -batch -l finder -f finder-compile-keywords-make-dist $$wins; \ |
17746
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
71 $(EMACS) -batch -f batch-update-autoloads $$wins |
17394
b793e8f5a9c2
Added cus-load.el target.
Per Abrahamsen <abraham@dina.kvl.dk>
parents:
17392
diff
changeset
|
72 |
17392 | 73 TAGS: $(lisptagsfiles) |
18962 | 74 ${ETAGS} $(lisptagsfiles) |