summaryrefslogtreecommitdiff
path: root/lisp/makefile.w32-in
diff options
context:
space:
mode:
authorAndrew Innes <andrewi@gnu.org>2001-04-18 14:10:23 +0000
committerAndrew Innes <andrewi@gnu.org>2001-04-18 14:10:23 +0000
commitcc7aa0538b5c8d721d033bc78570b1b797de8622 (patch)
treea7df8f662d87a21944b1fc659ce6341e7183d2dd /lisp/makefile.w32-in
parent9cbff816d5b7a78811ad9b5191fb2782a5ec0201 (diff)
downloademacs-cc7aa0538b5c8d721d033bc78570b1b797de8622.tar.gz
(EMACSLOADPATH): Define.
(custom-deps): (autoloads): (.el.elc): (compile-files-CMD): (compile-files-SH): (recompile): Remove stuff to set EMACSLOADPATH.
Diffstat (limited to 'lisp/makefile.w32-in')
-rw-r--r--lisp/makefile.w32-in20
1 files changed, 9 insertions, 11 deletions
diff --git a/lisp/makefile.w32-in b/lisp/makefile.w32-in
index 95a5bcab8c7..ebda1161711 100644
--- a/lisp/makefile.w32-in
+++ b/lisp/makefile.w32-in
@@ -38,6 +38,9 @@ EMACS = "$(THISDIR)/../bin/emacs.exe"
EMACSOPT = -batch --no-init-file --no-site-file --multibyte
+# Set EMACSLOADPATH correctly (already defined in environment).
+EMACSLOADPATH=$(lisp)
+
lisptagsfiles1 = $(lisp)/*.el
lisptagsfiles2 = $(lisp)/*/*.el
ETAGS = "../lib-src/$(BLD)/etags"
@@ -144,8 +147,7 @@ cus-load.el:
touch $@
custom-deps: cus-load.el doit
@echo Directories: $(WINS)
- set EMACSLOADPATH=$(lisp)
- -$(SETLOADPATH) $(emacs) -l cus-dep --eval $(ARGQUOTE)(setq find-file-hooks nil)$(ARGQUOTE) -f custom-make-dependencies $(lisp) $(WINS)
+ -$(emacs) -l cus-dep --eval $(ARGQUOTE)(setq find-file-hooks nil)$(ARGQUOTE) -f custom-make-dependencies $(lisp) $(WINS)
finder-inf.el:
echo (provide $(SQUOTE)finder-inf)>> $@
@@ -167,8 +169,7 @@ loaddefs.el:
autoloads: loaddefs.el doit
@echo Directories: $(WINS)
- set EMACSLOADPATH=$(lisp)
- $(SETLOADPATH) $(emacs) -l autoload --eval $(ARGQUOTE)(setq find-file-hooks nil generated-autoload-file $(DQUOTE)$(lisp)/loaddefs.el$(DQUOTE))$(ARGQUOTE) -f batch-update-autoloads $(lisp) $(WINS)
+ $(emacs) -l autoload --eval $(ARGQUOTE)(setq find-file-hooks nil generated-autoload-file $(DQUOTE)$(lisp)/loaddefs.el$(DQUOTE))$(ARGQUOTE) -f batch-update-autoloads $(lisp) $(WINS)
subdirs.el:
$(MAKE) $(MFLAGS) update-subdirs
@@ -200,8 +201,7 @@ TAGS-LISP: $(lispsource)$(lisptagsfiles1) $(lispsource)$(lisptagsfiles2)
.SUFFIXES: .elc .el
.el.elc:
- set EMACSLOADPATH=$(lisp)
- -$(SETLOADPATH) $(emacs) -f batch-byte-compile $<
+ -$(emacs) -f batch-byte-compile $<
$(DONTCOMPILE:.el=.elc):
-$(DEL) $@
@@ -219,7 +219,6 @@ $(DONTCOMPILE:.el=.elc):
compile-files: subdirs.el compile-files-$(SHELLTYPE) doit
compile-files-CMD:
- set EMACSLOADPATH=$(lisp)
# -for %f in ($(lisp) $(WINS)) do for %g in (%f\*.elc) do @attrib -r %g
for %f in ($(COMPILE_FIRST)) do $(emacs) -f batch-byte-compile %f
for %f in ($(lisp) $(WINS)) do for %g in (%f/*.el) do $(emacs) -f batch-byte-compile %f/%g
@@ -228,12 +227,12 @@ compile-files-SH:
# for elc in $(lisp)/*.elc $(lisp)/*/*.elc; do attrib -r $$elc; done
for el in $(COMPILE_FIRST); do \
echo Compiling $$el; \
- EMACSLOADPATH=$(lisp) $(emacs) -f batch-byte-compile $$el; \
+ $(emacs) -f batch-byte-compile $$el; \
done
for dir in $(lisp) $(WINS); do \
for el in $$dir/*.el; do \
echo Compiling $$el; \
- EMACSLOADPATH=$(lisp) $(emacs) -f batch-byte-compile $$el; \
+ $(emacs) -f batch-byte-compile $$el; \
done; \
done
@@ -253,8 +252,7 @@ compile: backup-compiled-files compile-files
# .elc is present.
recompile: doit
- set EMACSLOADPATH=$(lisp)
- $(SETLOADPATH) $(emacs) -f batch-byte-recompile-directory .
+ $(emacs) -f batch-byte-recompile-directory .
# Prepare a bootstrap in the lisp subdirectory. Build loaddefs.el,
# because it's not sure it's up-to-date, and if it's not, that might