Fix distribution tarball for the MS-DOS build.
authorEli Zaretskii <eliz@gnu.org>
Mon, 31 Oct 2011 17:37:39 +0000 (19:37 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 31 Oct 2011 17:37:39 +0000 (19:37 +0200)
 make-dist (tempdir): Create `autogen'.
 (msdos): Add depfiles.bat and inttypes.h.
 (autogen): Put README, config.in, and Makefile.in ionto the
 distribution, they are needed for the MS-DOS build.
 msdos/sed3v2.inp (insrcdir): Comment out definition.
 $(insrcdir): Edit into MS-DOS existence test.

ChangeLog
make-dist
msdos/ChangeLog
msdos/sed3v2.inp

index 2cd3f8e..fba4a24 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-10-31  Eli Zaretskii  <eliz@gnu.org>
+
+       * make-dist (tempdir): Create `autogen'.
+       (msdos): Add depfiles.bat and inttypes.h.
+       (autogen): Put README, config.in, and Makefile.in ionto the
+       distribution, they are needed for the MS-DOS build.
+
 2011-10-25  Nali Toja  <nalitoja@gmail.com>  (tiny change)
 
        * configure.in (HAVE_GNU_MAKE): Respect MAKE env-var.  (Bug#9868)
index a428686..b7043b2 100755 (executable)
--- a/make-dist
+++ b/make-dist
@@ -297,7 +297,7 @@ for subdir in site-lisp \
              nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet nt/icons \
              `find etc lisp admin -type d` \
              doc doc/emacs doc/misc doc/man doc/lispref doc/lispintro \
-             info m4 msdos \
+             info m4 msdos autogen \
              nextstep nextstep/Cocoa nextstep/Cocoa/Emacs.base \
              nextstep/Cocoa/Emacs.base/Contents \
              nextstep/Cocoa/Emacs.base/Contents/Resources \
@@ -419,8 +419,13 @@ echo "Making links to \`nt/icons'"
 echo "Making links to \`msdos'"
 (cd msdos
  ln ChangeLog INSTALL README emacs.ico emacs.pif ../${tempdir}/msdos
+ ln depfiles.bat inttypes.h ../${tempdir}/msdos
  ln is_exec.c sigaction.c mainmake.v2 sed*.inp ../${tempdir}/msdos)
 
+echo "Making links to \`autogen'"
+(cd autogen
+ ln README config.in Makefile.in ../${tempdir}/autogen)
+
 echo "Making links to \`nextstep'"
 (cd nextstep
  ln ChangeLog README INSTALL ../${tempdir}/nextstep)
index 78ea6eb..eeb363e 100644 (file)
@@ -1,3 +1,8 @@
+2011-10-31  Eli Zaretskii  <eliz@gnu.org>
+
+       * sed3v2.inp (insrcdir): Comment out definition.
+       $(insrcdir): Edit into MS-DOS existence test.
+
 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
 
        * mainmake.v2 (boot): Condition the value on the existence of
index 346f4e0..3b20651 100644 (file)
@@ -49,4 +49,6 @@ s!^   \./!    !
 /^UTILITIES *=/,/^$/{
   s/movemail[^ ]* *//
 }
+/^insrcdir=/s/^.*$/\#&/
+/^      *\$(insrcdir) ||/s,\$(insrcdir) ||,command.com /c if not exist $<,