changeset 37965:5ca54595fa61

(bootstrap-doc): New target. (bootstrap-emacs): Depend on it.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 31 May 2001 19:02:28 +0000
parents efefef4ec3eb
children d6089a8e8243
files src/Makefile.in
diffstat 1 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/Makefile.in	Thu May 31 14:34:37 2001 +0000
+++ b/src/Makefile.in	Thu May 31 19:02:28 2001 +0000
@@ -1194,10 +1194,18 @@
 bootstrap-temacs: 
 	LC_ALL=C $(MAKE) $(MFLAGS) temacs ALL_CFLAGS="$(ALL_CFLAGS) -DPURESIZE=5000000 -I../src"
 
+/* Build a DOC file.  */
+
+bootstrap-doc: ${libsrc}make-docfile
+	-rm -f ${etc}DOC
+	els=`echo ${shortlisp} ${SOME_MACHINE_LISP} \
+		| sed -e "s/\\.elc/.el/g"`; \
+	${libsrc}make-docfile -d ${srcdir} $$els ${obj} > ${etc}DOC
+
 /* Dump an Emacs executable named bootstrap-emacs containing the 
    files from loadup.el in source form.  */
 
-bootstrap-emacs: bootstrap-temacs
+bootstrap-emacs: bootstrap-temacs bootstrap-doc
 #ifdef CANNOT_DUMP
 	ln temacs bootstrap-emacs
 #else