diff options
| author | Eli Zaretskii | 2004-11-08 13:56:55 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2004-11-08 13:56:55 +0000 |
| commit | 406865b8a4e9afc907775c0438b2a428e70a2957 (patch) | |
| tree | 128e4074c5fe557b5560d8dae67dfc584cf807bc | |
| parent | 3f8ea68c981d4264ad7d5107373cfaca0bb9a2e2 (diff) | |
| download | emacs-406865b8a4e9afc907775c0438b2a428e70a2957.tar.gz emacs-406865b8a4e9afc907775c0438b2a428e70a2957.zip | |
(mostlyclean, distclean, maintainer-clean)
(extraclean, bootfast): New targets.
(top_distclean): New macro, used by distclean, maintainer-clean,
and extraclean.
(.PHONY): Add bootfast.
(bootstrap): Make bootstrap-after in lisp.
(bootstrap-clean-before): Clean in man, lispref, and lispintro as
well.
| -rw-r--r-- | msdos/ChangeLog | 9 | ||||
| -rw-r--r-- | msdos/mainmake.v2 | 99 |
2 files changed, 96 insertions, 12 deletions
diff --git a/msdos/ChangeLog b/msdos/ChangeLog index 9f434fe08e1..a403e148fff 100644 --- a/msdos/ChangeLog +++ b/msdos/ChangeLog | |||
| @@ -1,5 +1,14 @@ | |||
| 1 | 2004-11-08 Eli Zaretskii <eliz@gnu.org> | 1 | 2004-11-08 Eli Zaretskii <eliz@gnu.org> |
| 2 | 2 | ||
| 3 | * mainmake.v2 (mostlyclean, distclean, maintainer-clean) | ||
| 4 | (extraclean, bootfast): New targets. | ||
| 5 | (top_distclean): New macro, used by distclean, maintainer-clean, | ||
| 6 | and extraclean. | ||
| 7 | (.PHONY): Add bootfast. | ||
| 8 | (bootstrap): Make bootstrap-after in lisp. | ||
| 9 | (bootstrap-clean-before): Clean in man, lispref, and lispintro as | ||
| 10 | well. | ||
| 11 | |||
| 3 | * sed2v2.inp (HAVE_BZERO): Define for GCC v3.x and later. | 12 | * sed2v2.inp (HAVE_BZERO): Define for GCC v3.x and later. |
| 4 | 13 | ||
| 5 | 2004-10-06 Eli Zaretskii <eliz@gnu.org> | 14 | 2004-10-06 Eli Zaretskii <eliz@gnu.org> |
diff --git a/msdos/mainmake.v2 b/msdos/mainmake.v2 index 0952380a202..f2291cf2989 100644 --- a/msdos/mainmake.v2 +++ b/msdos/mainmake.v2 | |||
| @@ -21,7 +21,7 @@ | |||
| 21 | # Boston, MA 02111-1307, USA. | 21 | # Boston, MA 02111-1307, USA. |
| 22 | 22 | ||
| 23 | # make all to compile and build Emacs. | 23 | # make all to compile and build Emacs. |
| 24 | # make install to install it. | 24 | # make install to install it (installs in-place, in `bin' subdir of top dir). |
| 25 | # make TAGS to update tags tables. | 25 | # make TAGS to update tags tables. |
| 26 | # | 26 | # |
| 27 | # make clean or make mostlyclean | 27 | # make clean or make mostlyclean |
| @@ -40,11 +40,12 @@ | |||
| 40 | # `make distclean' should leave only the files that were in the | 40 | # `make distclean' should leave only the files that were in the |
| 41 | # distribution. | 41 | # distribution. |
| 42 | # | 42 | # |
| 43 | # make realclean | 43 | # make maintainer-clean |
| 44 | # Delete everything from the current directory that can be | 44 | # Delete everything from the current directory that can be |
| 45 | # reconstructed with this Makefile. This typically includes | 45 | # reconstructed with this Makefile. This typically includes |
| 46 | # everything deleted by distclean, plus more: C source files | 46 | # everything deleted by distclean, plus more: *.elc files, |
| 47 | # produced by Bison, tags tables, info files, and so on. | 47 | # C source files produced by Bison, tags tables, info files, |
| 48 | # and so on. | ||
| 48 | # | 49 | # |
| 49 | # make extraclean | 50 | # make extraclean |
| 50 | # Still more severe - delete backup and autosave files, too. | 51 | # Still more severe - delete backup and autosave files, too. |
| @@ -135,22 +136,89 @@ TAGS tags: lib-src FRC | |||
| 135 | check: | 136 | check: |
| 136 | @echo "We don't have any tests for GNU Emacs yet." | 137 | @echo "We don't have any tests for GNU Emacs yet." |
| 137 | 138 | ||
| 138 | clean: | 139 | clean mostlyclean: |
| 139 | cd lib-src | 140 | cd lib-src |
| 140 | $(MAKE) clean | 141 | $(MAKE) $(MFLAGS) $@ |
| 141 | cd .. | 142 | cd .. |
| 142 | cd src | 143 | cd src |
| 143 | $(MAKE) clean | 144 | $(MAKE) $(MFLAGS) $@ |
| 144 | cd .. | 145 | cd .. |
| 145 | cd oldxmenu | 146 | cd oldxmenu |
| 146 | -$(MAKE) clean | 147 | -$(MAKE) $(MFLAGS) $@ |
| 148 | cd .. | ||
| 149 | cd man | ||
| 150 | -$(MAKE) $(MFLAGS) $@ | ||
| 151 | cd .. | ||
| 152 | cd lispref | ||
| 153 | -$(MAKE) $(MFLAGS) $@ | ||
| 154 | cd .. | ||
| 155 | cd lispintro | ||
| 156 | -$(MAKE) $(MFLAGS) $@ | ||
| 147 | cd .. | 157 | cd .. |
| 148 | cd leim | 158 | cd leim |
| 149 | if exist Makefile redir $(MAKE) clean | 159 | if exist Makefile redir $(MAKE) $(MFLAGS) $@ |
| 150 | cd .. | 160 | cd .. |
| 161 | -$(MAKE) $(MFLAGS) $@ | ||
| 151 | 162 | ||
| 152 | .PHONY: bootstrap bootstrap-lisp-1 boostrap-src bootstrap-lisp bootstrap-clean | 163 | top_distclean=rm -f Makefile */Makefile src/_gdbinit |
| 153 | .PHONY: maybe_bootstrap | 164 | |
| 165 | distclean maintainer-clean: FRC | ||
| 166 | cd src | ||
| 167 | $(MAKE) $(MFLAGS) $@ | ||
| 168 | cd .. | ||
| 169 | cd oldxmenu | ||
| 170 | -$(MAKE) $(MFLAGS) $@ | ||
| 171 | cd .. | ||
| 172 | cd lib-src | ||
| 173 | $(MAKE) $(MFLAGS) $@ | ||
| 174 | cd .. | ||
| 175 | cd man | ||
| 176 | -$(MAKE) $(MFLAGS) $@ | ||
| 177 | cd .. | ||
| 178 | cd lispref | ||
| 179 | -$(MAKE) $(MFLAGS) $@ | ||
| 180 | cd .. | ||
| 181 | cd lispintro | ||
| 182 | -$(MAKE) $(MFLAGS) $@ | ||
| 183 | cd .. | ||
| 184 | cd leim | ||
| 185 | if exist Makefile redir $(MAKE) $(MFLAGS) $@ | ||
| 186 | cd .. | ||
| 187 | cd lisp | ||
| 188 | $(MAKE) $(MFLAGS) $@ | ||
| 189 | cd .. | ||
| 190 | ${top_distclean} | ||
| 191 | |||
| 192 | extraclean: | ||
| 193 | cd src | ||
| 194 | $(MAKE) $(MFLAGS) $@ | ||
| 195 | cd .. | ||
| 196 | cd oldxmenu | ||
| 197 | -$(MAKE) $(MFLAGS) $@ | ||
| 198 | cd .. | ||
| 199 | cd lib-src | ||
| 200 | $(MAKE) $(MFLAGS) $@ | ||
| 201 | cd .. | ||
| 202 | cd man | ||
| 203 | -$(MAKE) $(MFLAGS) $@ | ||
| 204 | cd .. | ||
| 205 | cd lispref | ||
| 206 | -$(MAKE) $(MFLAGS) $@ | ||
| 207 | cd .. | ||
| 208 | cd lispintro | ||
| 209 | -$(MAKE) $(MFLAGS) $@ | ||
| 210 | cd .. | ||
| 211 | cd leim | ||
| 212 | if exist Makefile redir $(MAKE) $(MFLAGS) $@ | ||
| 213 | cd .. | ||
| 214 | cd lisp | ||
| 215 | $(MAKE) $(MFLAGS) $@ | ||
| 216 | cd .. | ||
| 217 | ${top_distclean} | ||
| 218 | -rm -f *~ #* | ||
| 219 | |||
| 220 | .PHONY: bootstrap bootstrap-lisp-1 bootstrap-src bootstrap-lisp bootstrap-clean | ||
| 221 | .PHONY: maybe_bootstrap bootfast | ||
| 154 | 222 | ||
| 155 | maybe_bootstrap: | 223 | maybe_bootstrap: |
| 156 | @if not exist lisp\abbrev.elc djecho \ | 224 | @if not exist lisp\abbrev.elc djecho \ |
| @@ -158,6 +226,10 @@ maybe_bootstrap: | |||
| 158 | @if not exist lisp\abbrev.elc redir -e /dev/null -oe redir fail-this-make.exe | 226 | @if not exist lisp\abbrev.elc redir -e /dev/null -oe redir fail-this-make.exe |
| 159 | 227 | ||
| 160 | bootstrap: bootstrap-clean-before bootstrap-lisp-1 bootstrap-src bootstrap-lisp bootstrap-clean-after all info | 228 | bootstrap: bootstrap-clean-before bootstrap-lisp-1 bootstrap-src bootstrap-lisp bootstrap-clean-after all info |
| 229 | cd lisp; $(MAKE) $(MFLAGS) bootstrap-after; cd .. | ||
| 230 | |||
| 231 | bootfast: bootstrap-clean-before bootstrap-src bootstrap-lisp bootstrap-clean-after all info | ||
| 232 | cd lisp; $(MAKE) $(MFLAGS) bootstrap-after; cd .. | ||
| 161 | 233 | ||
| 162 | bootstrap-lisp-1: | 234 | bootstrap-lisp-1: |
| 163 | cd lisp; $(MAKE) $(MFLAGS) bootstrap-clean; cd .. | 235 | cd lisp; $(MAKE) $(MFLAGS) bootstrap-clean; cd .. |
| @@ -172,7 +244,10 @@ bootstrap-src: | |||
| 172 | bootstrap-clean-before: FRC | 244 | bootstrap-clean-before: FRC |
| 173 | cd src; $(MAKE) $(MFLAGS) mostlyclean; cd .. | 245 | cd src; $(MAKE) $(MFLAGS) mostlyclean; cd .. |
| 174 | cd lib-src; $(MAKE) $(MFLAGS) clean; cd .. | 246 | cd lib-src; $(MAKE) $(MFLAGS) clean; cd .. |
| 175 | cd leim; $(MAKE) $(MFLAGS) clean; cd .. | 247 | -cd man; $(MAKE) $(MFLAGS) clean; cd .. |
| 248 | -cd lispref; $(MAKE) $(MFLAGS) clean; cd .. | ||
| 249 | -cd lispintro; $(MAKE) $(MFLAGS) clean; cd .. | ||
| 250 | cd leim; if exist Makefile redir $(MAKE) $(MFLAGS) clean; cd .. | ||
| 176 | 251 | ||
| 177 | bootstrap-clean-after: | 252 | bootstrap-clean-after: |
| 178 | cd src; $(MAKE) $(MFLAGS) mostlyclean; cd .. | 253 | cd src; $(MAKE) $(MFLAGS) mostlyclean; cd .. |