Mercurial > emacs
annotate msdos/mainmake.v2 @ 102368:968d71b7a967
(rmail-highlighted-headers, rmail-highlight, rmail-header-name): Doc fixes.
(rmail-show-message-verbose-min): Add :version.
(rmail-highlight-headers): Add doc string. Simplify.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Tue, 03 Mar 2009 04:08:09 +0000 |
parents | 51e686047b3b |
children | 4d83e5b1225b |
rev | line source |
---|---|
15014 | 1 # Top-level Makefile for Emacs under MS-DOS/DJGPP v2.0 or higher. -*-makefile-*- |
36236 | 2 |
64890
3723093a21fd
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64084
diff
changeset
|
3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
100956 | 4 # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
36236 | 5 |
6 # This file is part of GNU Emacs. | |
7 | |
94790
fa41f74280f5
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79742
diff
changeset
|
8 # GNU Emacs is free software: you can redistribute it and/or modify |
36236 | 9 # it under the terms of the GNU General Public License as published by |
94790
fa41f74280f5
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79742
diff
changeset
|
10 # the Free Software Foundation, either version 3 of the License, or |
fa41f74280f5
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79742
diff
changeset
|
11 # (at your option) any later version. |
36236 | 12 |
13 # GNU Emacs is distributed in the hope that it will be useful, | |
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 # GNU General Public License for more details. | |
17 | |
18 # You should have received a copy of the GNU General Public License | |
94790
fa41f74280f5
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79742
diff
changeset
|
19 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
36236 | 20 |
14995 | 21 # make all to compile and build Emacs. |
58034
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
22 # make install to install it (installs in-place, in `bin' subdir of top dir). |
14995 | 23 # make TAGS to update tags tables. |
24 # | |
25 # make clean or make mostlyclean | |
26 # Delete all files from the current directory that are normally | |
27 # created by building the program. Don't delete the files that | |
28 # record the configuration. Also preserve files that could be made | |
29 # by building, but normally aren't because the distribution comes | |
30 # with them. | |
31 # | |
32 # Delete `.dvi' files here if they are not part of the distribution. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44037
diff
changeset
|
33 # |
14995 | 34 # make distclean |
35 # Delete all files from the current directory that are created by | |
36 # configuring or building the program. If you have unpacked the | |
37 # source and built the program without creating any other files, | |
38 # `make distclean' should leave only the files that were in the | |
39 # distribution. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44037
diff
changeset
|
40 # |
58034
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
41 # make maintainer-clean |
14995 | 42 # Delete everything from the current directory that can be |
43 # reconstructed with this Makefile. This typically includes | |
58034
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
44 # everything deleted by distclean, plus more: *.elc files, |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
45 # C source files produced by Bison, tags tables, info files, |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
46 # and so on. |
14995 | 47 # |
48 # make extraclean | |
49 # Still more severe - delete backup and autosave files, too. | |
50 | |
23496
1518b5946f9f
Forcibly set SHELL and MAKESHELL to force Make to use
Eli Zaretskii <eliz@gnu.org>
parents:
21934
diff
changeset
|
51 # This gork is required for those who use a Unix-style shell, and |
1518b5946f9f
Forcibly set SHELL and MAKESHELL to force Make to use
Eli Zaretskii <eliz@gnu.org>
parents:
21934
diff
changeset
|
52 # have SHELL in the environment pointing to it. Here we force |
1518b5946f9f
Forcibly set SHELL and MAKESHELL to force Make to use
Eli Zaretskii <eliz@gnu.org>
parents:
21934
diff
changeset
|
53 # Make to use COMMAND.COM instead. This Makefile won't work otherwise. |
24908
075da7e5be80
(SHELL, MAKESHELL): Don't use /dos/command, it can
Eli Zaretskii <eliz@gnu.org>
parents:
24071
diff
changeset
|
54 # (The /xyzzy directory is used to minimize the chance that someone |
075da7e5be80
(SHELL, MAKESHELL): Don't use /dos/command, it can
Eli Zaretskii <eliz@gnu.org>
parents:
24071
diff
changeset
|
55 # actually has such a directory with an incompatible command.com. We |
075da7e5be80
(SHELL, MAKESHELL): Don't use /dos/command, it can
Eli Zaretskii <eliz@gnu.org>
parents:
24071
diff
changeset
|
56 # used to have /dos there, but some Windows installations have an old |
075da7e5be80
(SHELL, MAKESHELL): Don't use /dos/command, it can
Eli Zaretskii <eliz@gnu.org>
parents:
24071
diff
changeset
|
57 # version of DOS stashed in that directory, and command.com from there |
075da7e5be80
(SHELL, MAKESHELL): Don't use /dos/command, it can
Eli Zaretskii <eliz@gnu.org>
parents:
24071
diff
changeset
|
58 # won't run on Windows, complaining about "Incorrect DOS version". |
075da7e5be80
(SHELL, MAKESHELL): Don't use /dos/command, it can
Eli Zaretskii <eliz@gnu.org>
parents:
24071
diff
changeset
|
59 # Make will look up PATH for the shell executable, so the directory name |
075da7e5be80
(SHELL, MAKESHELL): Don't use /dos/command, it can
Eli Zaretskii <eliz@gnu.org>
parents:
24071
diff
changeset
|
60 # is not important.) |
075da7e5be80
(SHELL, MAKESHELL): Don't use /dos/command, it can
Eli Zaretskii <eliz@gnu.org>
parents:
24071
diff
changeset
|
61 SHELL=/xyzzy/command |
075da7e5be80
(SHELL, MAKESHELL): Don't use /dos/command, it can
Eli Zaretskii <eliz@gnu.org>
parents:
24071
diff
changeset
|
62 MAKESHELL=/xyzzy/command |
23496
1518b5946f9f
Forcibly set SHELL and MAKESHELL to force Make to use
Eli Zaretskii <eliz@gnu.org>
parents:
21934
diff
changeset
|
63 |
14995 | 64 # Generate a full pathname of the top-level installation directory |
21483
c6d7001a262c
Determine emacs-version from lisp/version.el. Pass it to
Eli Zaretskii <eliz@gnu.org>
parents:
20282
diff
changeset
|
65 top_srcdir := $(subst \,/,$(shell cd)) |
c6d7001a262c
Determine emacs-version from lisp/version.el. Pass it to
Eli Zaretskii <eliz@gnu.org>
parents:
20282
diff
changeset
|
66 |
c6d7001a262c
Determine emacs-version from lisp/version.el. Pass it to
Eli Zaretskii <eliz@gnu.org>
parents:
20282
diff
changeset
|
67 # Find out which version of Emacs this is. |
c6d7001a262c
Determine emacs-version from lisp/version.el. Pass it to
Eli Zaretskii <eliz@gnu.org>
parents:
20282
diff
changeset
|
68 version := ${shell sed -n -e '/(defconst emacs-version/s/^[^"]*\("[^"]*"\).*/\1/p' lisp/version.el} |
14995 | 69 |
102328
51e686047b3b
(boot): Don't require b-emacs.exe if not building out of CVS.
Eli Zaretskii <eliz@gnu.org>
parents:
100956
diff
changeset
|
70 # Q: Do we need to bootstrap? |
51e686047b3b
(boot): Don't require b-emacs.exe if not building out of CVS.
Eli Zaretskii <eliz@gnu.org>
parents:
100956
diff
changeset
|
71 # A: Only if we find admin/admin.el, i.e. we are building out of CVS, |
51e686047b3b
(boot): Don't require b-emacs.exe if not building out of CVS.
Eli Zaretskii <eliz@gnu.org>
parents:
100956
diff
changeset
|
72 # and src/b-emacs.exe does not exist. This avoids building a |
51e686047b3b
(boot): Don't require b-emacs.exe if not building out of CVS.
Eli Zaretskii <eliz@gnu.org>
parents:
100956
diff
changeset
|
73 # bootstrap-emacs and recompiling Lisp files when building a |
51e686047b3b
(boot): Don't require b-emacs.exe if not building out of CVS.
Eli Zaretskii <eliz@gnu.org>
parents:
100956
diff
changeset
|
74 # pretest/release tarball. |
99577 | 75 boot := |
102328
51e686047b3b
(boot): Don't require b-emacs.exe if not building out of CVS.
Eli Zaretskii <eliz@gnu.org>
parents:
100956
diff
changeset
|
76 ifneq ($(wildcard admin/admin.el),) |
99577 | 77 ifeq ($(wildcard src/b-emacs.exe),) |
78 boot := b-emacs.exe | |
79 endif | |
102328
51e686047b3b
(boot): Don't require b-emacs.exe if not building out of CVS.
Eli Zaretskii <eliz@gnu.org>
parents:
100956
diff
changeset
|
80 endif |
99577 | 81 |
82 # Subdirectories to run Make. `lisp' is not included because the | |
83 # compiled lisp files are part of the distribution. (If we are | |
84 # bootstrapping, the src target will run Make in `lisp' as well.) | |
85 # leim is not included because it is part of the src target. | |
99769 | 86 all: lib-src src emacs misc lispref lispintro |
14995 | 87 |
88 lib-src: FRC | |
89 cd lib-src | |
21483
c6d7001a262c
Determine emacs-version from lisp/version.el. Pass it to
Eli Zaretskii <eliz@gnu.org>
parents:
20282
diff
changeset
|
90 $(MAKE) top_srcdir=${top_srcdir} version=${version} |
14995 | 91 cd .. |
92 | |
99577 | 93 # Pass to src/Makefile.in an additional BOOTSTRAPEMACS variable which |
94 # is either set to b-emacs.exe (in case bootstrap-emacs has not been | |
95 # constructed yet) or the empty string (otherwise). | |
96 # src/Makefile.in uses it to implement conditional dependencies, so that | |
97 # files that need bootstrap-emacs to be built do not additionally need | |
98 # to be kept fresher than b-emacs.exe. Otherwise changing a single | |
99 # file src/foo.c forces dumping a new bootstrap-emacs, then re-byte-compiling | |
100 # all preloaded elisp files, and only then dump the actual src/emacs, which | |
101 # is not wrong, but is overkill in 99.99% of the cases. | |
14995 | 102 src: FRC |
103 cd src | |
99577 | 104 $(MAKE) top_srcdir=${top_srcdir} BOOTSTRAPEMACS="${boot}" |
30535
442861d7c78a
(src): Make the rule faster by using a single djecho
Eli Zaretskii <eliz@gnu.org>
parents:
28768
diff
changeset
|
105 djecho -s '/-geometry/s,^.*,set environment HOME $(top_srcdir),' \ |
442861d7c78a
(src): Make the rule faster by using a single djecho
Eli Zaretskii <eliz@gnu.org>
parents:
28768
diff
changeset
|
106 '/environment *TERM/s/^.*/set environment TERM internal/' \ |
442861d7c78a
(src): Make the rule faster by using a single djecho
Eli Zaretskii <eliz@gnu.org>
parents:
28768
diff
changeset
|
107 '/x_error_quitter/s/^.*/set environment NAME root/' >gdb.sed |
442861d7c78a
(src): Make the rule faster by using a single djecho
Eli Zaretskii <eliz@gnu.org>
parents:
28768
diff
changeset
|
108 sed -f gdb.sed _gdbinit >gdb.tmp |
30599
296c06699a96
(src): Put gdb.tmp after -a, since -a requires an argument.
Eli Zaretskii <eliz@gnu.org>
parents:
30535
diff
changeset
|
109 djecho -a gdb.tmp -s 'set environment USER root' \ |
296c06699a96
(src): Put gdb.tmp after -a, since -a requires an argument.
Eli Zaretskii <eliz@gnu.org>
parents:
30535
diff
changeset
|
110 'set environment EMACSPATH $(top_srcdir)/bin' \ |
296c06699a96
(src): Put gdb.tmp after -a, since -a requires an argument.
Eli Zaretskii <eliz@gnu.org>
parents:
30535
diff
changeset
|
111 'set environment SHELL $(subst \,/,$(COMSPEC))' \ |
296c06699a96
(src): Put gdb.tmp after -a, since -a requires an argument.
Eli Zaretskii <eliz@gnu.org>
parents:
30535
diff
changeset
|
112 'set environment PATH $(subst \,/,$(PATH))' |
14995 | 113 update gdb.tmp gdb.ini |
15024
46fab7ac485b
(src): Create a file with sed commands instead of using
Richard M. Stallman <rms@gnu.org>
parents:
15014
diff
changeset
|
114 rm -f gdb.tmp gdb.sed |
14995 | 115 cd .. |
99577 | 116 if exist src\bootlisp redir $(MAKE) -C lisp top_srcdir=${top_srcdir} |
99585
f6de88174ac6
(src): Move removal of src/bootlisp after recursing into `lisp'.
Eli Zaretskii <eliz@gnu.org>
parents:
99577
diff
changeset
|
117 rm -f src/bootlisp |
24019
4946582b4411
(src): Build files in leim if leim/Makefile exists.
Eli Zaretskii <eliz@gnu.org>
parents:
23662
diff
changeset
|
118 if exist leim\Makefile redir $(MAKE) -C leim top_srcdir=${top_srcdir} |
14995 | 119 |
99769 | 120 info: emacs misc lispref lispintro |
99577 | 121 |
99769 | 122 emacs misc lispref lispintro: FRC |
97668
eefd6603dc56
(emacs lispref lispintro): Chdir under doc/.
Eli Zaretskii <eliz@gnu.org>
parents:
94790
diff
changeset
|
123 cd doc/$@ |
52580
ac7e8287a67e
(man lispref lispintro): Specify an explicit target `info',
Eli Zaretskii <eliz@gnu.org>
parents:
52401
diff
changeset
|
124 $(MAKE) top_srcdir=${top_srcdir} info |
97668
eefd6603dc56
(emacs lispref lispintro): Chdir under doc/.
Eli Zaretskii <eliz@gnu.org>
parents:
94790
diff
changeset
|
125 cd ../.. |
20282
6de74098af01
(man): New target to build the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
18768
diff
changeset
|
126 |
14995 | 127 install: all |
20282
6de74098af01
(man): New target to build the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
18768
diff
changeset
|
128 if not exist bin\nul md bin |
14995 | 129 cd lib-src |
30535
442861d7c78a
(src): Make the rule faster by using a single djecho
Eli Zaretskii <eliz@gnu.org>
parents:
28768
diff
changeset
|
130 command.com /c >/dev/null for %p in (hexl etags ctags b2m ebrowse) do\ |
442861d7c78a
(src): Make the rule faster by using a single djecho
Eli Zaretskii <eliz@gnu.org>
parents:
28768
diff
changeset
|
131 if exist %p.exe mv -f %p.exe ../bin |
24071
8db408246555
(install): Use update instead of sed to install fns.el.
Eli Zaretskii <eliz@gnu.org>
parents:
24047
diff
changeset
|
132 if exist fns.el update fns.el ../bin/fns.el |
14995 | 133 cd .. |
134 cd src | |
135 mv -f emacs.exe ../bin/ | |
136 cd .. | |
38506
6c5d7bb4a940
(install): Create site-lisp/subdirs.el if it is not already there.
Eli Zaretskii <eliz@gnu.org>
parents:
36236
diff
changeset
|
137 djecho -s "(if (fboundp 'normal-top-level-add-subdirs-to-load-path)" \ |
6c5d7bb4a940
(install): Create site-lisp/subdirs.el if it is not already there.
Eli Zaretskii <eliz@gnu.org>
parents:
36236
diff
changeset
|
138 " (normal-top-level-add-subdirs-to-load-path))" \ |
6c5d7bb4a940
(install): Create site-lisp/subdirs.el if it is not already there.
Eli Zaretskii <eliz@gnu.org>
parents:
36236
diff
changeset
|
139 > ./subdirs.el |
6c5d7bb4a940
(install): Create site-lisp/subdirs.el if it is not already there.
Eli Zaretskii <eliz@gnu.org>
parents:
36236
diff
changeset
|
140 if not exist .\site-lisp\subdirs.el \ |
6c5d7bb4a940
(install): Create site-lisp/subdirs.el if it is not already there.
Eli Zaretskii <eliz@gnu.org>
parents:
36236
diff
changeset
|
141 update ./subdirs.el ./site-lisp/subdirs.el |
6c5d7bb4a940
(install): Create site-lisp/subdirs.el if it is not already there.
Eli Zaretskii <eliz@gnu.org>
parents:
36236
diff
changeset
|
142 rm -f ./subdirs.el |
14995 | 143 |
144 FRC: | |
145 | |
31054
0eab133958e6
(TAGS): Don't use [a-zA-Z]*, as it causes wildcard
Eli Zaretskii <eliz@gnu.org>
parents:
30599
diff
changeset
|
146 # We cannot use [a-zA-Z]* like the mainline distribution does, because |
0eab133958e6
(TAGS): Don't use [a-zA-Z]*, as it causes wildcard
Eli Zaretskii <eliz@gnu.org>
parents:
30599
diff
changeset
|
147 # that causes all file names to be returned in upper-case on DOS... |
15781
5cd40832a444
(TAGS): Make sure bin/etags.exe is current. Make
Richard M. Stallman <rms@gnu.org>
parents:
15024
diff
changeset
|
148 TAGS tags: lib-src FRC |
5cd40832a444
(TAGS): Make sure bin/etags.exe is current. Make
Richard M. Stallman <rms@gnu.org>
parents:
15024
diff
changeset
|
149 cd lib-src |
5cd40832a444
(TAGS): Make sure bin/etags.exe is current. Make
Richard M. Stallman <rms@gnu.org>
parents:
15024
diff
changeset
|
150 if exist etags.exe mv -f etags.exe ../bin |
5cd40832a444
(TAGS): Make sure bin/etags.exe is current. Make
Richard M. Stallman <rms@gnu.org>
parents:
15024
diff
changeset
|
151 cd .. |
14995 | 152 cd lisp |
31054
0eab133958e6
(TAGS): Don't use [a-zA-Z]*, as it causes wildcard
Eli Zaretskii <eliz@gnu.org>
parents:
30599
diff
changeset
|
153 ../bin/etags .../*.el |
14995 | 154 cd .. |
155 cd src | |
156 ../bin/etags --include=../lisp/TAGS \ | |
157 '--regex=/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/' *.c *.h s/msdos.h m/intel386.h | |
158 cd .. | |
159 ./bin/etags --include=src/TAGS | |
160 | |
161 check: | |
162 @echo "We don't have any tests for GNU Emacs yet." | |
163 | |
58034
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
164 clean mostlyclean: |
14995 | 165 cd lib-src |
58034
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
166 $(MAKE) $(MFLAGS) $@ |
14995 | 167 cd .. |
168 cd src | |
58034
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
169 $(MAKE) $(MFLAGS) $@ |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
170 cd .. |
97668
eefd6603dc56
(emacs lispref lispintro): Chdir under doc/.
Eli Zaretskii <eliz@gnu.org>
parents:
94790
diff
changeset
|
171 cd doc |
eefd6603dc56
(emacs lispref lispintro): Chdir under doc/.
Eli Zaretskii <eliz@gnu.org>
parents:
94790
diff
changeset
|
172 cd emacs |
eefd6603dc56
(emacs lispref lispintro): Chdir under doc/.
Eli Zaretskii <eliz@gnu.org>
parents:
94790
diff
changeset
|
173 -$(MAKE) $(MFLAGS) $@ |
eefd6603dc56
(emacs lispref lispintro): Chdir under doc/.
Eli Zaretskii <eliz@gnu.org>
parents:
94790
diff
changeset
|
174 cd .. |
eefd6603dc56
(emacs lispref lispintro): Chdir under doc/.
Eli Zaretskii <eliz@gnu.org>
parents:
94790
diff
changeset
|
175 cd misc |
58034
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
176 -$(MAKE) $(MFLAGS) $@ |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
177 cd .. |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
178 cd lispref |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
179 -$(MAKE) $(MFLAGS) $@ |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
180 cd .. |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
181 cd lispintro |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
182 -$(MAKE) $(MFLAGS) $@ |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
183 cd .. |
97668
eefd6603dc56
(emacs lispref lispintro): Chdir under doc/.
Eli Zaretskii <eliz@gnu.org>
parents:
94790
diff
changeset
|
184 cd .. |
58034
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
185 cd leim |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
186 if exist Makefile redir $(MAKE) $(MFLAGS) $@ |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
187 cd .. |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
188 |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
189 top_distclean=rm -f Makefile */Makefile src/_gdbinit |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
190 |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
191 distclean maintainer-clean: FRC |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
192 cd src |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
193 $(MAKE) $(MFLAGS) $@ |
99577 | 194 if exist bootlisp rm -f bootlisp |
58034
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
195 cd .. |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
196 cd lib-src |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
197 $(MAKE) $(MFLAGS) $@ |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
198 cd .. |
97668
eefd6603dc56
(emacs lispref lispintro): Chdir under doc/.
Eli Zaretskii <eliz@gnu.org>
parents:
94790
diff
changeset
|
199 cd doc |
eefd6603dc56
(emacs lispref lispintro): Chdir under doc/.
Eli Zaretskii <eliz@gnu.org>
parents:
94790
diff
changeset
|
200 cd emacs |
eefd6603dc56
(emacs lispref lispintro): Chdir under doc/.
Eli Zaretskii <eliz@gnu.org>
parents:
94790
diff
changeset
|
201 -$(MAKE) $(MFLAGS) $@ |
eefd6603dc56
(emacs lispref lispintro): Chdir under doc/.
Eli Zaretskii <eliz@gnu.org>
parents:
94790
diff
changeset
|
202 cd .. |
eefd6603dc56
(emacs lispref lispintro): Chdir under doc/.
Eli Zaretskii <eliz@gnu.org>
parents:
94790
diff
changeset
|
203 cd misc |
58034
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
204 -$(MAKE) $(MFLAGS) $@ |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
205 cd .. |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
206 cd lispref |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
207 -$(MAKE) $(MFLAGS) $@ |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
208 cd .. |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
209 cd lispintro |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
210 -$(MAKE) $(MFLAGS) $@ |
14995 | 211 cd .. |
97668
eefd6603dc56
(emacs lispref lispintro): Chdir under doc/.
Eli Zaretskii <eliz@gnu.org>
parents:
94790
diff
changeset
|
212 cd .. |
24019
4946582b4411
(src): Build files in leim if leim/Makefile exists.
Eli Zaretskii <eliz@gnu.org>
parents:
23662
diff
changeset
|
213 cd leim |
58034
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
214 if exist Makefile redir $(MAKE) $(MFLAGS) $@ |
24019
4946582b4411
(src): Build files in leim if leim/Makefile exists.
Eli Zaretskii <eliz@gnu.org>
parents:
23662
diff
changeset
|
215 cd .. |
58034
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
216 cd lisp |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
217 $(MAKE) $(MFLAGS) $@ |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
218 cd .. |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
219 ${top_distclean} |
43800
1548aa2b7c55
(maybe_bootstrap, bootstrap, bootstrap-lisp-1)
Eli Zaretskii <eliz@gnu.org>
parents:
41425
diff
changeset
|
220 |
58034
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
221 extraclean: |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
222 cd src |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
223 $(MAKE) $(MFLAGS) $@ |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
224 cd .. |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
225 cd lib-src |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
226 $(MAKE) $(MFLAGS) $@ |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
227 cd .. |
97668
eefd6603dc56
(emacs lispref lispintro): Chdir under doc/.
Eli Zaretskii <eliz@gnu.org>
parents:
94790
diff
changeset
|
228 cd doc |
eefd6603dc56
(emacs lispref lispintro): Chdir under doc/.
Eli Zaretskii <eliz@gnu.org>
parents:
94790
diff
changeset
|
229 cd emacs |
eefd6603dc56
(emacs lispref lispintro): Chdir under doc/.
Eli Zaretskii <eliz@gnu.org>
parents:
94790
diff
changeset
|
230 -$(MAKE) $(MFLAGS) $@ |
eefd6603dc56
(emacs lispref lispintro): Chdir under doc/.
Eli Zaretskii <eliz@gnu.org>
parents:
94790
diff
changeset
|
231 cd .. |
eefd6603dc56
(emacs lispref lispintro): Chdir under doc/.
Eli Zaretskii <eliz@gnu.org>
parents:
94790
diff
changeset
|
232 cd misc |
58034
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
233 -$(MAKE) $(MFLAGS) $@ |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
234 cd .. |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
235 cd lispref |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
236 -$(MAKE) $(MFLAGS) $@ |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
237 cd .. |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
238 cd lispintro |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
239 -$(MAKE) $(MFLAGS) $@ |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
240 cd .. |
97668
eefd6603dc56
(emacs lispref lispintro): Chdir under doc/.
Eli Zaretskii <eliz@gnu.org>
parents:
94790
diff
changeset
|
241 cd .. |
58034
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
242 cd leim |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
243 if exist Makefile redir $(MAKE) $(MFLAGS) $@ |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
244 cd .. |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
245 cd lisp |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
246 $(MAKE) $(MFLAGS) $@ |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
247 cd .. |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
248 ${top_distclean} |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
249 -rm -f *~ #* |
4d6e721cedf7
(mostlyclean, distclean, maintainer-clean)
Eli Zaretskii <eliz@gnu.org>
parents:
52580
diff
changeset
|
250 |
99577 | 251 .PHONY: bootstrap |
43800
1548aa2b7c55
(maybe_bootstrap, bootstrap, bootstrap-lisp-1)
Eli Zaretskii <eliz@gnu.org>
parents:
41425
diff
changeset
|
252 |
99577 | 253 bootstrap-clean: FRC |
254 cd src | |
255 $(MAKE) $(MFLAGS) $@ | |
256 cd .. | |
257 cd lib-src | |
258 $(MAKE) $(MFLAGS) maintainer-clean | |
259 cd .. | |
260 cd doc | |
261 cd emacs | |
262 -$(MAKE) $(MFLAGS) maintainer-clean | |
263 cd ../misc | |
264 -$(MAKE) $(MFLAGS) maintainer-clean | |
265 cd ../lispref | |
266 -$(MAKE) $(MFLAGS) maintainer-clean | |
267 cd ../lispintro | |
268 -$(MAKE) $(MFLAGS) maintainer-clean | |
269 cd .. | |
270 cd .. | |
271 cd leim | |
272 $(MAKE) $(MFLAGS) maintainer-clean | |
273 cd .. | |
274 cd lisp | |
275 $(MAKE) $(MFLAGS) bootstrap-clean | |
276 cd .. | |
277 ${top_bootclean} | |
43800
1548aa2b7c55
(maybe_bootstrap, bootstrap, bootstrap-lisp-1)
Eli Zaretskii <eliz@gnu.org>
parents:
41425
diff
changeset
|
278 |
99577 | 279 bootstrap: bootstrap-clean FRC |
280 config msdos | |
281 $(MAKE) $(MFLAGS) info all | |
52401 | 282 |
283 # arch-tag: 6fee5130-4c53-46c6-93d3-d0ea852298b9 |