]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix previous commit.
authorEli Zaretskii <eliz@gnu.org>
Mon, 31 Oct 2011 17:49:10 +0000 (19:49 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 31 Oct 2011 17:49:10 +0000 (19:49 +0200)
 config.bat: Use config.in and Makefile.in from src/ and lib/, if
 they exist there, else from autogen/.
 make-dist: Don't add `autogen'.

ChangeLog
config.bat
make-dist

index fba4a2401e95af46a6391b2f73d9bf1696fc9b58..3d8f5758afa8266298b1f903acf52ae157a2bd42 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,9 +1,9 @@
 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.
+       * config.bat: Use config.in and Makefile.in from src/ and lib/, if
+       they exist there, else from autogen/.
+
+       * make-dist (msdos): Add depfiles.bat and inttypes.h.
 
 2011-10-25  Nali Toja  <nalitoja@gmail.com>  (tiny change)
 
index cbbcf0cfcd581a645837a9d613e568fa018871ef..aa2a3a4f90540d567c016fc4c32e99644b4d534d 100644 (file)
@@ -156,9 +156,11 @@ rm -f epaths.tmp
 \r
 rem   Create "config.h"\r
 rm -f config.h2 config.tmp\r
-sed -e '' ../autogen/config.in > config.tmp\r
+if exist config.in sed -e '' config.in > config.tmp\r
+if exist ..\autogen\config.in sed -e '' ../autogen/config.in > config.tmp\r
 if "%X11%" == "" goto src4\r
-sed -f ../msdos/sed2x.inp < ..\autogen\config.in > config.tmp\r
+if exist config.in sed -f ../msdos/sed2x.inp < config.in > config.tmp\r
+if exist ..\autogen\config.in sed -f ../msdos/sed2x.inp < ..\autogen\config.in > config.tmp\r
 :src4\r
 sed -f ../msdos/sed2v2.inp <config.tmp >config.h2\r
 Rem See if DECL_ALIGN can be supported with this GCC\r
@@ -290,7 +292,8 @@ If Exist stdlib.in.h update stdlib.in.h stdlib.in-h
 If Exist sys_stat.in.h update sys_stat.in.h sys_stat.in-h\r
 If Exist time.in.h update time.in.h time.in-h\r
 If Exist unistd.in.h update unistd.in.h unistd.in-h\r
-sed -f ../msdos/sedlibcf.inp < ..\autogen\Makefile.in > makefile.tmp\r
+If Exist Makefile.in sed -f ../msdos/sedlibcf.inp < Makefile.in > makefile.tmp\r
+If Exist ..\autogen\Makefile.in sed -f ../msdos/sedlibcf.inp < ..\autogen\Makefile.in > makefile.tmp\r
 sed -f ../msdos/sedlibmk.inp < makefile.tmp > Makefile\r
 rm -f makefile.tmp\r
 Rem Create .Po files for new files in lib/\r
index b7043b28d8f07acfdbf2628d168888a779b1b6db..ebbb11e87cc4134ec4522cb38d0ef3a39a836a25 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 autogen \
+             info m4 msdos \
              nextstep nextstep/Cocoa nextstep/Cocoa/Emacs.base \
              nextstep/Cocoa/Emacs.base/Contents \
              nextstep/Cocoa/Emacs.base/Contents/Resources \
@@ -422,10 +422,6 @@ echo "Making links to \`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)