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