diff options
| author | Andrew Innes | 2000-07-05 17:32:43 +0000 |
|---|---|---|
| committer | Andrew Innes | 2000-07-05 17:32:43 +0000 |
| commit | de32572e7355094e66b1a1e19bc2e7fceb2ee56a (patch) | |
| tree | 40500ae75d25a60d64c6d8d7f5d728efa07defef | |
| parent | e2b1c424356b717e6f4e9c6064065ff394c07131 (diff) | |
| download | emacs-de32572e7355094e66b1a1e19bc2e7fceb2ee56a.tar.gz emacs-de32572e7355094e66b1a1e19bc2e7fceb2ee56a.zip | |
Add support for `bootstrap' and related targets.
| -rw-r--r-- | lisp/makefile.nt | 234 | ||||
| -rw-r--r-- | nt/makefile.nt | 48 |
2 files changed, 214 insertions, 68 deletions
diff --git a/lisp/makefile.nt b/lisp/makefile.nt index c1b905498b9..90af77f4593 100644 --- a/lisp/makefile.nt +++ b/lisp/makefile.nt | |||
| @@ -24,87 +24,233 @@ | |||
| 24 | 24 | ||
| 25 | all: | 25 | all: |
| 26 | 26 | ||
| 27 | #lisp=$(MAKEDIR:\=/) | ||
| 28 | lisp=. | ||
| 29 | |||
| 27 | # You can specify a different executable on the make command line, | 30 | # You can specify a different executable on the make command line, |
| 28 | # e.g. "make EMACS=../src/emacs ...". | 31 | # e.g. "make EMACS=../src/emacs ...". |
| 29 | 32 | ||
| 30 | EMACS = ..\src\$(BLD)\emacs | 33 | EMACS = ..\bin\emacs.exe |
| 31 | 34 | ||
| 32 | # Command line flags for Emacs. This must include --multibyte, | 35 | # Command line flags for Emacs. This must include --multibyte, |
| 33 | # otherwise some files will not compile. | 36 | # otherwise some files will not compile. |
| 34 | 37 | ||
| 35 | EMACSOPT = --no-init-file --no-site-file --multibyte -batch | 38 | EMACSOPT = -batch --no-init-file --no-site-file --multibyte |
| 39 | |||
| 40 | lisptagsfiles1 = $(lisp)/*.el | ||
| 41 | lisptagsfiles2 = $(lisp)/*/*.el | ||
| 42 | ETAGS = ..\lib-src\$(BLD)\etags | ||
| 36 | 43 | ||
| 37 | # Files which should not be compiled. All file names must be relative | 44 | # Files which should not be compiled. |
| 38 | # to the `lisp' directory. | ||
| 39 | # - emacs-lisp/cl-specs.el: only contains `def-edebug-spec's so there's | 45 | # - emacs-lisp/cl-specs.el: only contains `def-edebug-spec's so there's |
| 40 | # no point compiling it, although it doesn't hurt. | 46 | # no point compiling it, although it doesn't hurt. |
| 41 | 47 | ||
| 42 | DONTCOMPILE = bindings.el mail/blessmail.el play/bruce.el cus-load.el \ | 48 | DONTCOMPILE = \ |
| 43 | cus-start.el forms-d2.el forms-pass.el \ | 49 | $(lisp)/bindings.el \ |
| 44 | international/latin-1.el international/latin-2.el \ | 50 | $(lisp)/cus-load.el \ |
| 45 | international/latin-3.el international/latin-4.el \ | 51 | $(lisp)/cus-start.el \ |
| 46 | international/latin-5.el \ | 52 | $(lisp)/emacs-lisp/cl-specs.el \ |
| 47 | loaddefs.el loadup.el international/mule-conf.el patcomp.el \ | 53 | $(lisp)/eshell/esh-maint.el \ |
| 48 | paths.el mail/sc.el subdirs.el version.el \ | 54 | $(lisp)/eshell/esh-group.el \ |
| 49 | generic-x.el international/latin-8.el international/latin-9.el \ | 55 | $(lisp)/finder-inf.el \ |
| 50 | emacs-lisp/cl-specs.el finder-inf.el term/internal.el | 56 | $(lisp)/forms-d2.el \ |
| 57 | $(lisp)/forms-pass.el \ | ||
| 58 | $(lisp)/generic-x.el \ | ||
| 59 | $(lisp)/international/latin-1.el \ | ||
| 60 | $(lisp)/international/latin-2.el \ | ||
| 61 | $(lisp)/international/latin-3.el \ | ||
| 62 | $(lisp)/international/latin-4.el \ | ||
| 63 | $(lisp)/international/latin-5.el \ | ||
| 64 | $(lisp)/international/latin-8.el \ | ||
| 65 | $(lisp)/international/latin-9.el \ | ||
| 66 | $(lisp)/international/mule-conf.el \ | ||
| 67 | $(lisp)/loaddefs.el \ | ||
| 68 | $(lisp)/loadup.el \ | ||
| 69 | $(lisp)/mail/blessmail.el \ | ||
| 70 | $(lisp)/mail/sc.el \ | ||
| 71 | $(lisp)/patcomp.el \ | ||
| 72 | $(lisp)/paths.el \ | ||
| 73 | $(lisp)/play/bruce.el \ | ||
| 74 | $(lisp)/subdirs.el \ | ||
| 75 | $(lisp)/term/internal.el \ | ||
| 76 | $(lisp)/version.el | ||
| 77 | |||
| 78 | # Files to compile before others during a bootstrap. This is done | ||
| 79 | # to speed up the bootstrap process. | ||
| 80 | |||
| 81 | COMPILE_FIRST = \ | ||
| 82 | $(lisp)/emacs-lisp/byte-opt.el \ | ||
| 83 | $(lisp)/emacs-lisp/bytecomp.el \ | ||
| 84 | $(lisp)/subr.el | ||
| 51 | 85 | ||
| 52 | # The actual Emacs command run in the targets below. | 86 | # The actual Emacs command run in the targets below. |
| 53 | 87 | ||
| 54 | emacs = $(EMACS) $(EMACSOPT) | 88 | emacs = $(EMACS) $(EMACSOPT) |
| 55 | 89 | ||
| 90 | # Common command to find subdirectories | ||
| 91 | |||
| 92 | # setwins=subdirs=`find $$wd -type d -print`; \ | ||
| 93 | # for file in $$subdirs; do \ | ||
| 94 | # case $$file in */Old | */RCS | */CVS | */CVS/* | */=* ) ;; \ | ||
| 95 | # *) wins="$$wins $$file" ;; \ | ||
| 96 | # esac; \ | ||
| 97 | # done | ||
| 98 | |||
| 99 | # Have to define the list of subdirs manually | ||
| 100 | WINS=\ | ||
| 101 | calendar \ | ||
| 102 | emacs-lisp \ | ||
| 103 | emulation \ | ||
| 104 | eshell \ | ||
| 105 | gnus \ | ||
| 106 | international \ | ||
| 107 | language \ | ||
| 108 | mail \ | ||
| 109 | net \ | ||
| 110 | play \ | ||
| 111 | progmodes \ | ||
| 112 | term \ | ||
| 113 | textmodes | ||
| 114 | |||
| 115 | doit: | ||
| 116 | |||
| 117 | cus-load.el: | ||
| 118 | touch $@ | ||
| 119 | custom-deps: cus-load.el doit | ||
| 120 | @echo Directories: $(WINS) | ||
| 121 | $(emacs) -l cus-dep --eval "(setq find-file-hooks nil)" -f custom-make-dependencies $(lisp) $(WINS) | ||
| 122 | |||
| 123 | finder-inf.el: | ||
| 124 | echo (provide 'finder-inf)>> $@ | ||
| 125 | |||
| 126 | finder-data: finder-inf.el doit | ||
| 127 | @echo Directories: $(WINS) | ||
| 128 | $(emacs) -l finder -f finder-compile-keywords-make-dist $(lisp) $(WINS) | ||
| 129 | |||
| 130 | loaddefs.el: | ||
| 131 | echo ;;; loaddefs.el --- automatically extracted autoloads> $@ | ||
| 132 | echo ;;; Code:>> $@ | ||
| 133 | echo >> $@ | ||
| 134 | echo ;;; Local Variables:>> $@ | ||
| 135 | echo ;;; version-control: never>> $@ | ||
| 136 | echo ;;; no-byte-compile: t>> $@ | ||
| 137 | echo ;;; no-update-autoloads: t>> $@ | ||
| 138 | echo ;;; End:>> $@ | ||
| 139 | echo ;;; loaddefs.el ends here>> $@ | ||
| 140 | |||
| 141 | autoloads: loaddefs.el doit | ||
| 142 | @echo Directories: $(WINS) | ||
| 143 | $(emacs) -l autoload --eval "(setq find-file-hooks nil generated-autoload-file \"$(lisp)/loaddefs.el\")" -f batch-update-autoloads $(lisp) $(WINS) | ||
| 144 | |||
| 145 | subdirs.el: | ||
| 146 | $(MAKE) $(MFLAGS) -f makefile.nt update-subdirs | ||
| 147 | update-subdirs: doit | ||
| 148 | @set QWINS= | ||
| 149 | @for %d in ($(WINS)) do if not (%d)==(term) set QWINS=%QWINS% "%d" | ||
| 150 | echo ;; In load-path, after this directory should come> subdirs.el | ||
| 151 | echo ;; certain of its subdirectories. Here we specify them.>> subdirs.el | ||
| 152 | echo (normal-top-level-add-to-load-path '(%QWINS%))>> subdirs.el | ||
| 153 | |||
| 154 | updates: update-subdirs autoloads finder-data custom-deps | ||
| 155 | |||
| 156 | TAGS: $(lisptagsfiles1) $(lisptagsfiles2) | ||
| 157 | $(ETAGS) $(lisptagsfiles1) $(lisptagsfiles2) | ||
| 158 | |||
| 159 | TAGS-LISP: $(lispsource)$(lisptagsfiles1) $(lispsource)$(lisptagsfiles2) | ||
| 160 | $(ETAGS) -o TAGS-LISP $(lispsource)$(lisptagsfiles1) $(lispsource)$(lisptagsfiles2) | ||
| 161 | |||
| 56 | .el.elc: | 162 | .el.elc: |
| 57 | -$(emacs) -f batch-byte-compile $< | 163 | -$(emacs) -f batch-byte-compile $< |
| 58 | 164 | ||
| 59 | $(DONTCOMPILE:.el=.elc): | 165 | $(DONTCOMPILE:.el=.elc): |
| 60 | -$(DEL) $@ | 166 | -$(DEL) $@ |
| 61 | 167 | ||
| 168 | # Compile all Lisp files, except those from DONTCOMPILE. This | ||
| 169 | # compiles files unconditionally. All .elc files are made writable | ||
| 170 | # before compilation in case we checked out read-only (CVS option -r). | ||
| 171 | # Files MUST be compiled one by one. If we compile several files in a | ||
| 172 | # row we can't make sure that the compilation environment is clean. | ||
| 173 | # We also set the load-path of the Emacs used for compilation to the | ||
| 174 | # current directory and its subdirectories, to make sure require's and | ||
| 175 | # load's in the files being compiled find the right files. | ||
| 176 | |||
| 177 | compile-files: subdirs.el doit | ||
| 178 | -for %f in ($(lisp) $(WINS)) do for %g in (%f\*.elc) do @attrib -r %g | ||
| 179 | for %f in ($(COMPILE_FIRST)) do $(emacs) -f batch-byte-compile %f | ||
| 180 | for %f in ($(lisp) $(WINS)) do for %g in (%f/*.el) do $(emacs) -f batch-byte-compile %f/%g | ||
| 181 | |||
| 182 | # Backup compiled Lisp files in elc.tar.gz. If that file already | ||
| 183 | # exists, make a backup of it. | ||
| 184 | |||
| 185 | backup-compiled-files: | ||
| 186 | -mv $(lisp)/elc.tar.gz $(lisp)/elc.tar.gz~ | ||
| 187 | -tar czf $(lisp)/elc.tar.gz $(lisp)/*.elc $(lisp)/*/*.elc | ||
| 188 | |||
| 189 | # Compile Lisp files, but save old compiled files first. | ||
| 190 | |||
| 191 | compile: backup-compiled-files compile-files | ||
| 192 | |||
| 62 | # Recompile all Lisp files which are newer than their .elc files. | 193 | # Recompile all Lisp files which are newer than their .elc files. |
| 63 | # Note that this doesn't create .elc files. It only recompiles if an | 194 | # Note that this doesn't create .elc files. It only recompiles if an |
| 64 | # .elc is present. | 195 | # .elc is present. |
| 65 | 196 | ||
| 66 | recompile: | 197 | recompile: doit |
| 67 | $(emacs) -f batch-byte-recompile-directory . | 198 | $(emacs) -f batch-byte-recompile-directory . |
| 68 | 199 | ||
| 200 | # Prepare a bootstrap in the lisp subdirectory. Build loaddefs.el, | ||
| 201 | # because it's not sure it's up-to-date, and if it's not, that might | ||
| 202 | # lead to errors during the bootstrap because something fails to | ||
| 203 | # autoload as expected. Remove compiled Lisp files so that | ||
| 204 | # bootstrap-emacs will be built from sources only. | ||
| 205 | |||
| 206 | bootstrap-clean: | ||
| 207 | if exist $(EMACS) $(MAKE) $(MFLAGS) -f makefile.nt autoloads | ||
| 208 | -for %f in ($(lisp) $(WINS)) do for %g in (%f\*.elc) do @$(DEL) %g | ||
| 209 | |||
| 210 | # Generate/update files for the bootstrap process. | ||
| 211 | |||
| 212 | bootstrap: autoloads compile-files custom-deps | ||
| 213 | |||
| 69 | # | 214 | # |
| 70 | # Assuming INSTALL_DIR is defined, copy the elisp files to it | 215 | # Assuming INSTALL_DIR is defined, copy the elisp files to it |
| 71 | # Windows 95 makes this harder than it should be. | 216 | # Windows 95 makes this harder than it should be. |
| 72 | # | 217 | # |
| 73 | install: | 218 | install: |
| 74 | - mkdir $(INSTALL_DIR)\lisp | 219 | - mkdir $(INSTALL_DIR)\lisp |
| 75 | - $(DEL) .\same-dir.tst | 220 | - $(DEL) .\same-dir.tst |
| 76 | - $(DEL) $(INSTALL_DIR)\lisp\same-dir.tst | 221 | - $(DEL) $(INSTALL_DIR)\lisp\same-dir.tst |
| 77 | echo SameDirTest > $(INSTALL_DIR)\lisp\same-dir.tst | 222 | echo SameDirTest > $(INSTALL_DIR)\lisp\same-dir.tst |
| 78 | !ifdef COPY_LISP_SOURCE | 223 | !ifdef COPY_LISP_SOURCE |
| 79 | if not exist .\same-dir.tst $(CP_DIR) . $(INSTALL_DIR)\lisp | 224 | if not exist .\same-dir.tst $(CP_DIR) . $(INSTALL_DIR)\lisp |
| 80 | !else | 225 | !else |
| 81 | if not exist .\same-dir.tst $(CP_DIR) *.elc $(INSTALL_DIR)\lisp | 226 | if not exist .\same-dir.tst $(CP_DIR) *.elc $(INSTALL_DIR)\lisp |
| 82 | if not exist .\same-dir.tst $(CP) cus-load.el $(INSTALL_DIR)\lisp | 227 | if not exist .\same-dir.tst $(CP) cus-load.el $(INSTALL_DIR)\lisp |
| 83 | if not exist .\same-dir.tst $(CP) forms*.el $(INSTALL_DIR)\lisp | 228 | if not exist .\same-dir.tst $(CP) forms*.el $(INSTALL_DIR)\lisp |
| 84 | if not exist .\same-dir.tst $(CP) patcomp.el $(INSTALL_DIR)\lisp | 229 | if not exist .\same-dir.tst $(CP) patcomp.el $(INSTALL_DIR)\lisp |
| 85 | if not exist .\same-dir.tst $(CP) subdirs.el $(INSTALL_DIR)\lisp | 230 | if not exist .\same-dir.tst $(CP) subdirs.el $(INSTALL_DIR)\lisp |
| 86 | if not exist .\same-dir.tst $(CP) version.el $(INSTALL_DIR)\lisp | 231 | if not exist .\same-dir.tst $(CP) version.el $(INSTALL_DIR)\lisp |
| 87 | if not exist .\same-dir.tst $(CP) mail\blessmail.el $(INSTALL_DIR)\lisp\mail | 232 | if not exist .\same-dir.tst $(CP) mail\blessmail.el $(INSTALL_DIR)\lisp\mail |
| 88 | if not exist .\same-dir.tst $(CP) mail\sc.el $(INSTALL_DIR)\lisp\mail | 233 | if not exist .\same-dir.tst $(CP) mail\sc.el $(INSTALL_DIR)\lisp\mail |
| 89 | if not exist .\same-dir.tst $(CP) play\bruce.el $(INSTALL_DIR)\lisp\play | 234 | if not exist .\same-dir.tst $(CP) play\bruce.el $(INSTALL_DIR)\lisp\play |
| 90 | if not exist .\same-dir.tst $(CP) international\latin-*.el $(INSTALL_DIR)\lisp\international | 235 | if not exist .\same-dir.tst $(CP) international\latin-*.el $(INSTALL_DIR)\lisp\international |
| 91 | if not exist .\same-dir.tst $(CP) international\mule-conf.el $(INSTALL_DIR)\lisp\international | 236 | if not exist .\same-dir.tst $(CP) international\mule-conf.el $(INSTALL_DIR)\lisp\international |
| 92 | - $(DEL) $(INSTALL_DIR)\lisp\same-dir.tst | 237 | - $(DEL) $(INSTALL_DIR)\lisp\same-dir.tst |
| 93 | !endif | 238 | !endif |
| 94 | 239 | ||
| 95 | # | 240 | # |
| 96 | # Maintenance | 241 | # Maintenance |
| 97 | # | 242 | # |
| 98 | clean:; - $(DEL) *~ term\*~ | 243 | clean: |
| 99 | - $(DEL) *.orig *.rej *.crlf | 244 | - $(DEL) *~ term\*~ |
| 100 | - $(DEL) emacs-lisp\*.orig emacs-lisp\*.rej emacs-lisp\*.crlf | 245 | - $(DEL) *.orig *.rej *.crlf |
| 101 | - $(DEL) emulation\*.orig emulation\*.rej emulation\*.crlf | 246 | - $(DEL) emacs-lisp\*.orig emacs-lisp\*.rej emacs-lisp\*.crlf |
| 102 | - $(DEL) gnus\*.orig gnus\*.rej gnus\*.crlf | 247 | - $(DEL) emulation\*.orig emulation\*.rej emulation\*.crlf |
| 103 | - $(DEL) international\*.orig international\*.rej international\*.crlf | 248 | - $(DEL) gnus\*.orig gnus\*.rej gnus\*.crlf |
| 104 | - $(DEL) language\*.orig language\*.rej language\*.crlf | 249 | - $(DEL) international\*.orig international\*.rej international\*.crlf |
| 105 | - $(DEL) mail\*.orig mail\*.rej mail\*.crlf | 250 | - $(DEL) language\*.orig language\*.rej language\*.crlf |
| 106 | - $(DEL) play\*.orig play\*.rej play\*.crlf | 251 | - $(DEL) mail\*.orig mail\*.rej mail\*.crlf |
| 107 | - $(DEL) progmodes\*.orig progmodes\*.rej progmodes\*.crlf | 252 | - $(DEL) play\*.orig play\*.rej play\*.crlf |
| 108 | - $(DEL) term\*.orig term\*.rej term\*.crlf | 253 | - $(DEL) progmodes\*.orig progmodes\*.rej progmodes\*.crlf |
| 109 | - $(DEL) textmodes\*.orig textmodes\*.rej textmodes\*.crlf | 254 | - $(DEL) term\*.orig term\*.rej term\*.crlf |
| 110 | - $(DEL_TREE) deleted | 255 | - $(DEL) textmodes\*.orig textmodes\*.rej textmodes\*.crlf |
| 256 | - $(DEL_TREE) deleted | ||
diff --git a/nt/makefile.nt b/nt/makefile.nt index 35fc32fee64..a89e6a446ac 100644 --- a/nt/makefile.nt +++ b/nt/makefile.nt | |||
| @@ -82,7 +82,7 @@ $(BLD)\runemacs.exe: $(BLD)\runemacs.obj $(TRES) | |||
| 82 | # | 82 | # |
| 83 | # Build emacs | 83 | # Build emacs |
| 84 | # | 84 | # |
| 85 | BUILD_CMD = $(MAKE) -f makefile.nt all | 85 | BUILD_CMD = $(MAKE) $(MFLAGS) -f makefile.nt all |
| 86 | all: $(BLD) $(ALL) | 86 | all: $(BLD) $(ALL) |
| 87 | cd ..\lib-src | 87 | cd ..\lib-src |
| 88 | $(BUILD_CMD) | 88 | $(BUILD_CMD) |
| @@ -94,34 +94,33 @@ all: $(BLD) $(ALL) | |||
| 94 | if exist makefile.nt $(BUILD_CMD) | 94 | if exist makefile.nt $(BUILD_CMD) |
| 95 | cd ..\nt | 95 | cd ..\nt |
| 96 | 96 | ||
| 97 | BOOTSTRAP_CMD = $(MAKE) $(MFLAGS) -f makefile.nt bootstrap | ||
| 98 | bootstrap: $(BLD) $(ALL) | ||
| 99 | cd ..\src | ||
| 100 | $(BOOTSTRAP_CMD) | ||
| 101 | $(BOOTCLEAN_CMD) | ||
| 102 | cd ..\lisp | ||
| 103 | $(BOOTSTRAP_CMD) | ||
| 104 | cd ..\nt | ||
| 105 | |||
| 106 | BOOTCLEAN_CMD = $(MAKE) $(MFLAGS) -f makefile.nt bootstrap-clean | ||
| 107 | bootstrap-clean: | ||
| 108 | cd ..\src | ||
| 109 | $(BOOTCLEAN_CMD) | ||
| 110 | cd ..\lisp | ||
| 111 | $(BOOTCLEAN_CMD) | ||
| 112 | |||
| 97 | $(INSTALL_DIR): | 113 | $(INSTALL_DIR): |
| 98 | - mkdir $(INSTALL_DIR) | 114 | - mkdir $(INSTALL_DIR) |
| 99 | 115 | ||
| 100 | $(INSTALL_DIR)\bin: | 116 | $(INSTALL_DIR)\bin: |
| 101 | - mkdir $(INSTALL_DIR)\bin | 117 | - mkdir $(INSTALL_DIR)\bin |
| 102 | 118 | ||
| 103 | $(INSTALL_DIR)\bin\emacs.bat: emacs.bat.in | ||
| 104 | echo @echo off > $@ | ||
| 105 | echo REM !!! Warning: This file automatically generated !!! >> emacs.bat | ||
| 106 | echo set emacs_dir=$(INSTALL_DIR)>> $@ | ||
| 107 | type emacs.bat.in >> $@ | ||
| 108 | |||
| 109 | $(INSTALL_DIR)\bin\debug.bat: debug.bat.in | ||
| 110 | echo @echo off > $@ | ||
| 111 | echo REM !!! Warning: This file automatically generated !!! >> debug.bat | ||
| 112 | echo set emacs_dir=$(INSTALL_DIR)>> $@ | ||
| 113 | type debug.bat.in >> $@ | ||
| 114 | |||
| 115 | batch_files: $(INSTALL_DIR) \ | ||
| 116 | $(INSTALL_DIR)\bin \ | ||
| 117 | $(INSTALL_DIR)\bin\emacs.bat \ | ||
| 118 | $(INSTALL_DIR)\bin\debug.bat | ||
| 119 | |||
| 120 | # | 119 | # |
| 121 | # Build and install emacs in INSTALL_DIR | 120 | # Build and install emacs in INSTALL_DIR |
| 122 | # | 121 | # |
| 123 | INSTALL_CMD = $(MAKE) -f makefile.nt install | 122 | INSTALL_CMD = $(MAKE) -f makefile.nt install |
| 124 | install: all $(INSTALL_DIR) batch_files | 123 | install: all $(INSTALL_DIR) |
| 125 | cd ..\lib-src | 124 | cd ..\lib-src |
| 126 | $(INSTALL_CMD) | 125 | $(INSTALL_CMD) |
| 127 | cd ..\src | 126 | cd ..\src |
| @@ -150,7 +149,7 @@ install: all $(INSTALL_DIR) batch_files | |||
| 150 | # This installs executables from ..\bin into the installation directory | 149 | # This installs executables from ..\bin into the installation directory |
| 151 | # without building anything. | 150 | # without building anything. |
| 152 | # | 151 | # |
| 153 | fast_install: batch_files | 152 | fast_install: |
| 154 | - mkdir $(INSTALL_DIR)\data | 153 | - mkdir $(INSTALL_DIR)\data |
| 155 | $(CP) ..\lib-src\DOC $(INSTALL_DIR)\etc | 154 | $(CP) ..\lib-src\DOC $(INSTALL_DIR)\etc |
| 156 | - mkdir $(INSTALL_DIR)\bin | 155 | - mkdir $(INSTALL_DIR)\bin |
| @@ -189,17 +188,15 @@ real_install: | |||
| 189 | # Maintenance | 188 | # Maintenance |
| 190 | # | 189 | # |
| 191 | CLEAN_CMD = $(MAKE) -f makefile.nt clean | 190 | CLEAN_CMD = $(MAKE) -f makefile.nt clean |
| 192 | clean:; - $(DEL) *~ *.pdb | 191 | clean: |
| 192 | - $(DEL) *~ *.pdb | ||
| 193 | - $(DEL) *.orig | 193 | - $(DEL) *.orig |
| 194 | - $(DEL) *.rej | 194 | - $(DEL) *.rej |
| 195 | - $(DEL) *.crlf | 195 | - $(DEL) *.crlf |
| 196 | - $(DEL_TREE) deleted | 196 | - $(DEL_TREE) deleted |
| 197 | - $(DEL_TREE) obj | 197 | - $(DEL_TREE) obj |
| 198 | - $(DEL_TREE) obj-spd | 198 | - $(DEL_TREE) obj-spd |
| 199 | - $(DEL_TREE) ..\bin | ||
| 200 | - $(DEL) ..\etc\DOC ..\etc\DOC-X | 199 | - $(DEL) ..\etc\DOC ..\etc\DOC-X |
| 201 | - $(DEL) emacs.bat | ||
| 202 | - $(DEL) debug.bat | ||
| 203 | cd ..\lib-src | 200 | cd ..\lib-src |
| 204 | $(CLEAN_CMD) | 201 | $(CLEAN_CMD) |
| 205 | cd ..\src | 202 | cd ..\src |
| @@ -209,3 +206,6 @@ clean:; - $(DEL) *~ *.pdb | |||
| 209 | cd ..\leim | 206 | cd ..\leim |
| 210 | if exist makefile.nt $(CLEAN_CMD) | 207 | if exist makefile.nt $(CLEAN_CMD) |
| 211 | cd ..\nt | 208 | cd ..\nt |
| 209 | |||
| 210 | realclean: clean | ||
| 211 | - $(DEL_TREE) ..\bin | ||