*** emacs-18.58/etc/make-docfile.c	Fri Oct 25 19:43:28 1991
--- GNUEMACS:etc/make-docfile.c	Sun Apr 26 10:04:22 1992
***************
*** 57,64 ****
        i += 2;
      }
  
!   for (; i < argc; i++)
      err_count += scan_file (argv[i]);	/* err_count seems to be {mis,un}used */
  #ifndef VMS
    exit (err_count);			/* see below - shane */
  #endif /* VMS */
--- 57,86 ----
        i += 2;
      }
  
! #ifdef AMIGA
!   {
!     char fn[512], *fpos;
!     int c;
! 
!     c = getchar();
!     do
!       {
! 	while (c == ' ' || c == '\n' || c == '\t') c = getchar();
! 	if (c == EOF) break;
! 	fpos = fn;
! 	do *fpos++ = c;
! 	while ((c = getchar()) != EOF && c != ' ' && c != '\t' && c != '\n');
! 	*fpos = 0;
! 
! 	fprintf(stderr, "doc file %s\n", fn);
! 	err_count += scan_file (fn); /* err_count seems to be {mis,un}used */
!       }
!     while (1);
!   }
! #else
!   for (; i < argc; i++) fprintf(stderr, "doc file %s\n", argv[i]),
      err_count += scan_file (argv[i]);	/* err_count seems to be {mis,un}used */
+ #endif
  #ifndef VMS
    exit (err_count);			/* see below - shane */
  #endif /* VMS */
