 +	  ${srcdir}/update-game-score.c $(LOADLIBES) -o update-game-score${EXEEXT}
  
  ## Makefile ends here.
-diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c
---- a/lib-src/make-docfile.c
-+++ b/lib-src/make-docfile.c
-@@ -166,11 +166,13 @@ main (int argc, char **argv)
-     }
-   if (argc > i + 1 && !strcmp (argv[i], "-d"))
-     {
-+      /*
-       if (chdir (argv[i + 1]) != 0)
- 	{
- 	  perror (argv[i + 1]);
- 	  return EXIT_FAILURE;
- 	}
-+        */
-       i += 2;
-     }
-   if (argc > i && !strcmp (argv[i], "-g"))
 diff --git a/lib-src/profile.c b/lib-src/profile.c
 --- a/lib-src/profile.c
 +++ b/lib-src/profile.c

 
 $(libsrc)/make-docfile$(EXEEXT):
 	cd $(libsrc); $(MAKE) $(MFLAGS) make-docfile$(EXEEXT)
@@ -453,7 +486,7 @@ GLOBAL_SOURCES = $(base_obj:.o=.c) $(NS_OBJC_OBJ:.o=.m)
 
 gl-stamp: $(libsrc)/make-docfile$(EXEEXT) $(GLOBAL_SOURCES)
 	@rm -f gl-tmp

 $(leimdir)/leim-list.el: bootstrap-emacs$(EXEEXT)
 	cd $(leimdir) && $(MAKE) $(MFLAGS) leim-list.el EMACS=$(bootstrap_exe)
 
@@ -414,7 +441,12 @@ $(leimdir)/leim-list.el: bootstrap-emacs$(EXEEXT)
 emacs$(EXEEXT): temacs$(EXEEXT) $(etc)/DOC $(lisp) $(leimdir)/leim-list.el
 	if test "$(CANNOT_DUMP)" = "yes"; then \
 	  rm -f emacs$(EXEEXT); \
