Mercurial > emacs
annotate lisp/Makefile @ 17748:689e217c6c8e
(update-subdirs): New target.
(updates): Do update-subdirs's job too.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 12 May 1997 00:59:57 +0000 |
parents | e3508d038aee |
children | aa26c694525e |
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 |
17743
8ec60a2d3ddb
(custom-deps): Target renamed from cus-load.el.
Richard M. Stallman <rms@gnu.org>
parents:
17399
diff
changeset
|
6 lisptagsfiles = [a-zA-Z]*.el */[a-zA-Z]*.el |
17392 | 7 |
17394
b793e8f5a9c2
Added cus-load.el target.
Per Abrahamsen <abraham@dina.kvl.dk>
parents:
17392
diff
changeset
|
8 doit: |
b793e8f5a9c2
Added cus-load.el target.
Per Abrahamsen <abraham@dina.kvl.dk>
parents:
17392
diff
changeset
|
9 |
17743
8ec60a2d3ddb
(custom-deps): Target renamed from cus-load.el.
Richard M. Stallman <rms@gnu.org>
parents:
17399
diff
changeset
|
10 custom-deps: doit |
17746
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
11 subdirs=`find . -type d -print`; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
12 for file in $$subdirs; do \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
13 case $$file in */Old | */RCS) ;; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
14 *) wins="$$wins $$file" ;; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
15 esac; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
16 done; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
17 $(EMACS) -batch -l cus-dep.el -f custom-make-dependencies $$wins |
17399
04fc73bb3416
(finder-inf.el, autoloads): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
17394
diff
changeset
|
18 |
17743
8ec60a2d3ddb
(custom-deps): Target renamed from cus-load.el.
Richard M. Stallman <rms@gnu.org>
parents:
17399
diff
changeset
|
19 finder-data: doit |
17746
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
20 subdirs=`find . -type d -print`; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
21 for file in $$subdirs; do \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
22 case $$file in */Old | */RCS) ;; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
23 *) wins="$$wins $$file" ;; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
24 esac; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
25 done; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
26 $(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
|
27 |
04fc73bb3416
(finder-inf.el, autoloads): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
17394
diff
changeset
|
28 autoloads: doit |
17746
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
29 subdirs=`find . -type d -print`; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
30 for file in $$subdirs; do \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
31 case $$file in */Old | */RCS) ;; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
32 *) wins="$$wins $$file" ;; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
33 esac; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
34 done; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
35 $(EMACS) -batch -f batch-update-autoloads $$wins |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
36 |
17748
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
37 update-subdirs: doit |
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
38 subdirs=`find . -type d -print`; \ |
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
39 for file in $$subdirs; do \ |
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
40 case $$file in */Old | */RCS) ;; \ |
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
41 *) wins="$$wins $$file" ;; \ |
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
42 esac; \ |
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
43 done; \ |
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
44 for file in $$wins; do \ |
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
45 ../update-subdirs $$file; \ |
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
46 done; |
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
47 |
17746
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
48 updates: doit |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
49 subdirs=`find . -type d -print`; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
50 for file in $$subdirs; do \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
51 case $$file in */Old | */RCS) ;; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
52 *) wins="$$wins $$file" ;; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
53 esac; \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
54 done; \ |
17748
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
55 for file in $$wins; do \ |
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
56 ../update-subdirs $$file; \ |
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
57 done; \ |
17746
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
58 $(EMACS) -batch -l cus-dep.el -f custom-make-dependencies $$wins \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
59 $(EMACS) -batch -l finder -f finder-compile-keywords-make-dist $$wins \ |
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
60 $(EMACS) -batch -f batch-update-autoloads $$wins |
17394
b793e8f5a9c2
Added cus-load.el target.
Per Abrahamsen <abraham@dina.kvl.dk>
parents:
17392
diff
changeset
|
61 |
17392 | 62 TAGS: $(lisptagsfiles) |
63 ../lib-src/etags $(lisptagsfiles) |