Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
96ff0f09
Commit
96ff0f09
authored
Oct 08, 1999
by
Gerd Moellmann
Browse files
(bootstrap-compile): New target. Compile Lisp
files with ../src/temacs.
parent
f1aba512
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
1 deletion
+41
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/Makefile
lisp/Makefile
+36
-1
No files found.
lisp/ChangeLog
View file @
96ff0f09
1999-10-09 Gerd Moellmann <gerd@gnu.org>
* Makefile (bootstrap-compile): New target. Compile Lisp
files with ../src/temacs.
1999-10-08 Simon Marshall <simon@gnu.org>
* emacs-lisp/regexp-opt.el (regexp-opt-try-suffix): New function.
...
...
lisp/Makefile
View file @
96ff0f09
...
...
@@ -46,6 +46,10 @@ EL = $(lisptagsfiles1) $(lisptagsfiles2)
emacs
=
$(EMACS)
$(EMACSOPT)
# The Emacs used to compile Lisp files from scratch.
temacs
=
../src/temacs
-batch
-l
./loadup.el
doit
:
...
...
@@ -124,7 +128,7 @@ TAGS-LISP: $(lispsource)$(lisptagsfiles1) $(lispsource)$(lisptagsfiles2)
compile
:
doit
wd
=
`
pwd
`
;
\
find
$$
wd
-name
"*.elc"
| xargs
chmod
+w
;
\
find
$$
wd
-name
"*.elc"
-print
| xargs
chmod
+w
;
\
subdirs
=
`
find
$$
wd
-type
d
-print
`
;
\
for
dir
in
$$
subdirs
;
do
\
case
$$
dir
in
\
...
...
@@ -148,6 +152,37 @@ compile: doit
fi
;
\
done
# Compile Lisp files when all we have is the temacs in ../src. All
# .elc files under the current directory are deleted first to make
# sure we start from a clean basis.
bootstrap-compile
:
doit
wd
=
`
pwd
`
;
\
find
$$
wd
-name
"*.elc"
-print
| xargs
rm
-f
\
subdirs
=
`
find
$$
wd
-type
d
-print
`
;
\
for
dir
in
$$
subdirs
;
do
\
case
$$
dir
in
\
*
/Old
|
*
/RCS
|
*
/CVS
|
*
/
=
*
)
;;
\
*
)
loadpath
=
"
$$
loadpath
\"
$$
dir
\"
"
;;
\
esac
;
\
done
;
\
loadpath
=
"(setq load-path '(
$$
loadpath))"
;
\
dont_compile
=
`
echo
$(DONTCOMPILE)
`
;
\
for
el
in
$(EL)
;
do
\
compile_it
=
y
;
\
for
dont
in
$$
dont_compile
;
do
\
if
test
$$
el
=
$$
dont
;
then
\
compile_it
=
n
;
\
fi
;
\
done
;
\
if
test
$$
compile_it
=
y
;
then
\
$(temacs)
--eval
"
$$
loadpath"
-f
batch-byte-compile
$$
el
;
\
else
\
echo
"Don't compile
$$
el"
;
\
fi
;
\
done
# Recompile all Lisp files which are newer than their .elc files.
# Note that this doesn't create .elc files. It only recompiles if an
# .elc is present.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment