# Find out which version of Emacs this is.
version := ${shell sed -n -e '/(defconst emacs-version/s/^[^"]*\("[^"]*"\).*/\1/p' lisp/version.el}
-all: maybe_bootstrap lib-src src man lispref lispintro
+all: maybe_bootstrap lib-src src emacs lispref lispintro
lib-src: FRC
cd lib-src
src: FRC
cd src
- $(MAKE) top_srcdir=${top_srcdir}
+ $(MAKE) top_srcdir=${top_srcdir} BOOTSTRAPEMACS=""
djecho -s '/-geometry/s,^.*,set environment HOME $(top_srcdir),' \
'/environment *TERM/s/^.*/set environment TERM internal/' \
'/x_error_quitter/s/^.*/set environment NAME root/' >gdb.sed
cd ..
if exist leim\Makefile redir $(MAKE) -C leim top_srcdir=${top_srcdir}
-man lispref lispintro: FRC
- cd $@
+emacs lispref lispintro: FRC
+ cd doc/$@
$(MAKE) top_srcdir=${top_srcdir} info
- cd ..
+ cd ../..
install: all
if not exist bin\nul md bin
if exist fns.el update fns.el ../bin/fns.el
cd ..
cd src
- stubify emacs
- stubedit emacs.exe minstack=512k
mv -f emacs.exe ../bin/
cd ..
djecho -s "(if (fboundp 'normal-top-level-add-subdirs-to-load-path)" \
cd oldxmenu
-$(MAKE) $(MFLAGS) $@
cd ..
- cd man
+ cd doc
+ cd emacs
+ -$(MAKE) $(MFLAGS) $@
+ cd ..
+ cd misc
-$(MAKE) $(MFLAGS) $@
cd ..
cd lispref
cd lispintro
-$(MAKE) $(MFLAGS) $@
cd ..
+ cd ..
cd leim
if exist Makefile redir $(MAKE) $(MFLAGS) $@
cd ..
cd lib-src
$(MAKE) $(MFLAGS) $@
cd ..
- cd man
+ cd doc
+ cd emacs
+ -$(MAKE) $(MFLAGS) $@
+ cd ..
+ cd misc
-$(MAKE) $(MFLAGS) $@
cd ..
cd lispref
cd lispintro
-$(MAKE) $(MFLAGS) $@
cd ..
+ cd ..
cd leim
if exist Makefile redir $(MAKE) $(MFLAGS) $@
cd ..
cd lib-src
$(MAKE) $(MFLAGS) $@
cd ..
- cd man
+ cd doc
+ cd emacs
+ -$(MAKE) $(MFLAGS) $@
+ cd ..
+ cd misc
-$(MAKE) $(MFLAGS) $@
cd ..
cd lispref
cd lispintro
-$(MAKE) $(MFLAGS) $@
cd ..
+ cd ..
cd leim
if exist Makefile redir $(MAKE) $(MFLAGS) $@
cd ..
bootstrap-clean-before: FRC
cd src; $(MAKE) $(MFLAGS) mostlyclean; cd ..
cd lib-src; $(MAKE) $(MFLAGS) clean; cd ..
- -cd man; $(MAKE) $(MFLAGS) clean; cd ..
+ -cd doc/emacs; $(MAKE) $(MFLAGS) clean; cd ..
+ -cd misc; $(MAKE) $(MFLAGS) clean; cd ..
-cd lispref; $(MAKE) $(MFLAGS) clean; cd ..
- -cd lispintro; $(MAKE) $(MFLAGS) clean; cd ..
+ -cd lispintro; $(MAKE) $(MFLAGS) clean; cd ..; cd ..
cd leim; if exist Makefile redir $(MAKE) $(MFLAGS) clean; cd ..
bootstrap-clean-after: