aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2008-08-23 17:02:59 +0000
committerEli Zaretskii2008-08-23 17:02:59 +0000
commitd945fac60bbd11c05c3e16d4ca8039b390310686 (patch)
treee84fbdd8a7db7b8069f3c217f4ed4649cc01ff2a
parentcbcc5ad47d6a1498e3588cb626fba4a4d7ee90de (diff)
downloademacs-d945fac60bbd11c05c3e16d4ca8039b390310686.tar.gz
emacs-d945fac60bbd11c05c3e16d4ca8039b390310686.zip
(emacs lispref lispintro): Chdir under doc/.
(emacs): Renamed from `man', to reflect changes in doc directory structure. All callers changed. (clean mostlyclean distclean maintainer-clean extraclean): Chdir into doc/ for manuals. Add misc subdirectory. (src): Pass an empty BOOTSTRAPEMACS variable to src/Makefile. (install): Don't stubify/stubedit emacs.exe, this is now done by src/Makefile.
-rw-r--r--msdos/mainmake.v238
1 files changed, 26 insertions, 12 deletions
diff --git a/msdos/mainmake.v2 b/msdos/mainmake.v2
index 5497e45b1b2..338c2b8505b 100644
--- a/msdos/mainmake.v2
+++ b/msdos/mainmake.v2
@@ -67,7 +67,7 @@ top_srcdir := $(subst \,/,$(shell cd))
67# Find out which version of Emacs this is. 67# Find out which version of Emacs this is.
68version := ${shell sed -n -e '/(defconst emacs-version/s/^[^"]*\("[^"]*"\).*/\1/p' lisp/version.el} 68version := ${shell sed -n -e '/(defconst emacs-version/s/^[^"]*\("[^"]*"\).*/\1/p' lisp/version.el}
69 69
70all: maybe_bootstrap lib-src src man lispref lispintro 70all: maybe_bootstrap lib-src src emacs lispref lispintro
71 71
72lib-src: FRC 72lib-src: FRC
73 cd lib-src 73 cd lib-src
@@ -76,7 +76,7 @@ lib-src: FRC
76 76
77src: FRC 77src: FRC
78 cd src 78 cd src
79 $(MAKE) top_srcdir=${top_srcdir} 79 $(MAKE) top_srcdir=${top_srcdir} BOOTSTRAPEMACS=""
80 djecho -s '/-geometry/s,^.*,set environment HOME $(top_srcdir),' \ 80 djecho -s '/-geometry/s,^.*,set environment HOME $(top_srcdir),' \
81 '/environment *TERM/s/^.*/set environment TERM internal/' \ 81 '/environment *TERM/s/^.*/set environment TERM internal/' \
82 '/x_error_quitter/s/^.*/set environment NAME root/' >gdb.sed 82 '/x_error_quitter/s/^.*/set environment NAME root/' >gdb.sed
@@ -90,10 +90,10 @@ src: FRC
90 cd .. 90 cd ..
91 if exist leim\Makefile redir $(MAKE) -C leim top_srcdir=${top_srcdir} 91 if exist leim\Makefile redir $(MAKE) -C leim top_srcdir=${top_srcdir}
92 92
93man lispref lispintro: FRC 93emacs lispref lispintro: FRC
94 cd $@ 94 cd doc/$@
95 $(MAKE) top_srcdir=${top_srcdir} info 95 $(MAKE) top_srcdir=${top_srcdir} info
96 cd .. 96 cd ../..
97 97
98install: all 98install: all
99 if not exist bin\nul md bin 99 if not exist bin\nul md bin
@@ -103,8 +103,6 @@ install: all
103 if exist fns.el update fns.el ../bin/fns.el 103 if exist fns.el update fns.el ../bin/fns.el
104 cd .. 104 cd ..
105 cd src 105 cd src
106 stubify emacs
107 stubedit emacs.exe minstack=512k
108 mv -f emacs.exe ../bin/ 106 mv -f emacs.exe ../bin/
109 cd .. 107 cd ..
110 djecho -s "(if (fboundp 'normal-top-level-add-subdirs-to-load-path)" \ 108 djecho -s "(if (fboundp 'normal-top-level-add-subdirs-to-load-path)" \
@@ -144,7 +142,11 @@ clean mostlyclean:
144 cd oldxmenu 142 cd oldxmenu
145 -$(MAKE) $(MFLAGS) $@ 143 -$(MAKE) $(MFLAGS) $@
146 cd .. 144 cd ..
147 cd man 145 cd doc
146 cd emacs
147 -$(MAKE) $(MFLAGS) $@
148 cd ..
149 cd misc
148 -$(MAKE) $(MFLAGS) $@ 150 -$(MAKE) $(MFLAGS) $@
149 cd .. 151 cd ..
150 cd lispref 152 cd lispref
@@ -153,6 +155,7 @@ clean mostlyclean:
153 cd lispintro 155 cd lispintro
154 -$(MAKE) $(MFLAGS) $@ 156 -$(MAKE) $(MFLAGS) $@
155 cd .. 157 cd ..
158 cd ..
156 cd leim 159 cd leim
157 if exist Makefile redir $(MAKE) $(MFLAGS) $@ 160 if exist Makefile redir $(MAKE) $(MFLAGS) $@
158 cd .. 161 cd ..
@@ -170,7 +173,11 @@ distclean maintainer-clean: FRC
170 cd lib-src 173 cd lib-src
171 $(MAKE) $(MFLAGS) $@ 174 $(MAKE) $(MFLAGS) $@
172 cd .. 175 cd ..
173 cd man 176 cd doc
177 cd emacs
178 -$(MAKE) $(MFLAGS) $@
179 cd ..
180 cd misc
174 -$(MAKE) $(MFLAGS) $@ 181 -$(MAKE) $(MFLAGS) $@
175 cd .. 182 cd ..
176 cd lispref 183 cd lispref
@@ -179,6 +186,7 @@ distclean maintainer-clean: FRC
179 cd lispintro 186 cd lispintro
180 -$(MAKE) $(MFLAGS) $@ 187 -$(MAKE) $(MFLAGS) $@
181 cd .. 188 cd ..
189 cd ..
182 cd leim 190 cd leim
183 if exist Makefile redir $(MAKE) $(MFLAGS) $@ 191 if exist Makefile redir $(MAKE) $(MFLAGS) $@
184 cd .. 192 cd ..
@@ -197,7 +205,11 @@ extraclean:
197 cd lib-src 205 cd lib-src
198 $(MAKE) $(MFLAGS) $@ 206 $(MAKE) $(MFLAGS) $@
199 cd .. 207 cd ..
200 cd man 208 cd doc
209 cd emacs
210 -$(MAKE) $(MFLAGS) $@
211 cd ..
212 cd misc
201 -$(MAKE) $(MFLAGS) $@ 213 -$(MAKE) $(MFLAGS) $@
202 cd .. 214 cd ..
203 cd lispref 215 cd lispref
@@ -206,6 +218,7 @@ extraclean:
206 cd lispintro 218 cd lispintro
207 -$(MAKE) $(MFLAGS) $@ 219 -$(MAKE) $(MFLAGS) $@
208 cd .. 220 cd ..
221 cd ..
209 cd leim 222 cd leim
210 if exist Makefile redir $(MAKE) $(MFLAGS) $@ 223 if exist Makefile redir $(MAKE) $(MFLAGS) $@
211 cd .. 224 cd ..
@@ -242,9 +255,10 @@ bootstrap-src:
242bootstrap-clean-before: FRC 255bootstrap-clean-before: FRC
243 cd src; $(MAKE) $(MFLAGS) mostlyclean; cd .. 256 cd src; $(MAKE) $(MFLAGS) mostlyclean; cd ..
244 cd lib-src; $(MAKE) $(MFLAGS) clean; cd .. 257 cd lib-src; $(MAKE) $(MFLAGS) clean; cd ..
245 -cd man; $(MAKE) $(MFLAGS) clean; cd .. 258 -cd doc/emacs; $(MAKE) $(MFLAGS) clean; cd ..
259 -cd misc; $(MAKE) $(MFLAGS) clean; cd ..
246 -cd lispref; $(MAKE) $(MFLAGS) clean; cd .. 260 -cd lispref; $(MAKE) $(MFLAGS) clean; cd ..
247 -cd lispintro; $(MAKE) $(MFLAGS) clean; cd .. 261 -cd lispintro; $(MAKE) $(MFLAGS) clean; cd ..; cd ..
248 cd leim; if exist Makefile redir $(MAKE) $(MFLAGS) clean; cd .. 262 cd leim; if exist Makefile redir $(MAKE) $(MFLAGS) clean; cd ..
249 263
250bootstrap-clean-after: 264bootstrap-clean-after: