aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2011-10-31 19:49:10 +0200
committerEli Zaretskii2011-10-31 19:49:10 +0200
commit07f3add98f088ff068aacb0429210900e95b90c3 (patch)
tree08365f7a950eeda0df82a3e33c17da37f94e7afc
parent0bd3cb7b2f44639e1da2245b086cedeabbfe46cf (diff)
downloademacs-07f3add98f088ff068aacb0429210900e95b90c3.tar.gz
emacs-07f3add98f088ff068aacb0429210900e95b90c3.zip
Fix previous commit.
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'.
-rw-r--r--ChangeLog8
-rw-r--r--config.bat9
-rwxr-xr-xmake-dist6
3 files changed, 11 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index fba4a2401e9..3d8f5758afa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,9 +1,9 @@
12011-10-31 Eli Zaretskii <eliz@gnu.org> 12011-10-31 Eli Zaretskii <eliz@gnu.org>
2 2
3 * make-dist (tempdir): Create `autogen'. 3 * config.bat: Use config.in and Makefile.in from src/ and lib/, if
4 (msdos): Add depfiles.bat and inttypes.h. 4 they exist there, else from autogen/.
5 (autogen): Put README, config.in, and Makefile.in ionto the 5
6 distribution, they are needed for the MS-DOS build. 6 * make-dist (msdos): Add depfiles.bat and inttypes.h.
7 7
82011-10-25 Nali Toja <nalitoja@gmail.com> (tiny change) 82011-10-25 Nali Toja <nalitoja@gmail.com> (tiny change)
9 9
diff --git a/config.bat b/config.bat
index cbbcf0cfcd5..aa2a3a4f905 100644
--- a/config.bat
+++ b/config.bat
@@ -156,9 +156,11 @@ rm -f epaths.tmp
156 156
157rem Create "config.h" 157rem Create "config.h"
158rm -f config.h2 config.tmp 158rm -f config.h2 config.tmp
159sed -e '' ../autogen/config.in > config.tmp 159if exist config.in sed -e '' config.in > config.tmp
160if exist ..\autogen\config.in sed -e '' ../autogen/config.in > config.tmp
160if "%X11%" == "" goto src4 161if "%X11%" == "" goto src4
161sed -f ../msdos/sed2x.inp < ..\autogen\config.in > config.tmp 162if exist config.in sed -f ../msdos/sed2x.inp < config.in > config.tmp
163if exist ..\autogen\config.in sed -f ../msdos/sed2x.inp < ..\autogen\config.in > config.tmp
162:src4 164:src4
163sed -f ../msdos/sed2v2.inp <config.tmp >config.h2 165sed -f ../msdos/sed2v2.inp <config.tmp >config.h2
164Rem See if DECL_ALIGN can be supported with this GCC 166Rem See if DECL_ALIGN can be supported with this GCC
@@ -290,7 +292,8 @@ If Exist stdlib.in.h update stdlib.in.h stdlib.in-h
290If Exist sys_stat.in.h update sys_stat.in.h sys_stat.in-h 292If Exist sys_stat.in.h update sys_stat.in.h sys_stat.in-h
291If Exist time.in.h update time.in.h time.in-h 293If Exist time.in.h update time.in.h time.in-h
292If Exist unistd.in.h update unistd.in.h unistd.in-h 294If Exist unistd.in.h update unistd.in.h unistd.in-h
293sed -f ../msdos/sedlibcf.inp < ..\autogen\Makefile.in > makefile.tmp 295If Exist Makefile.in sed -f ../msdos/sedlibcf.inp < Makefile.in > makefile.tmp
296If Exist ..\autogen\Makefile.in sed -f ../msdos/sedlibcf.inp < ..\autogen\Makefile.in > makefile.tmp
294sed -f ../msdos/sedlibmk.inp < makefile.tmp > Makefile 297sed -f ../msdos/sedlibmk.inp < makefile.tmp > Makefile
295rm -f makefile.tmp 298rm -f makefile.tmp
296Rem Create .Po files for new files in lib/ 299Rem Create .Po files for new files in lib/
diff --git a/make-dist b/make-dist
index b7043b28d8f..ebbb11e87cc 100755
--- a/make-dist
+++ b/make-dist
@@ -297,7 +297,7 @@ for subdir in site-lisp \
297 nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet nt/icons \ 297 nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet nt/icons \
298 `find etc lisp admin -type d` \ 298 `find etc lisp admin -type d` \
299 doc doc/emacs doc/misc doc/man doc/lispref doc/lispintro \ 299 doc doc/emacs doc/misc doc/man doc/lispref doc/lispintro \
300 info m4 msdos autogen \ 300 info m4 msdos \
301 nextstep nextstep/Cocoa nextstep/Cocoa/Emacs.base \ 301 nextstep nextstep/Cocoa nextstep/Cocoa/Emacs.base \
302 nextstep/Cocoa/Emacs.base/Contents \ 302 nextstep/Cocoa/Emacs.base/Contents \
303 nextstep/Cocoa/Emacs.base/Contents/Resources \ 303 nextstep/Cocoa/Emacs.base/Contents/Resources \
@@ -422,10 +422,6 @@ echo "Making links to \`msdos'"
422 ln depfiles.bat inttypes.h ../${tempdir}/msdos 422 ln depfiles.bat inttypes.h ../${tempdir}/msdos
423 ln is_exec.c sigaction.c mainmake.v2 sed*.inp ../${tempdir}/msdos) 423 ln is_exec.c sigaction.c mainmake.v2 sed*.inp ../${tempdir}/msdos)
424 424
425echo "Making links to \`autogen'"
426(cd autogen
427 ln README config.in Makefile.in ../${tempdir}/autogen)
428
429echo "Making links to \`nextstep'" 425echo "Making links to \`nextstep'"
430(cd nextstep 426(cd nextstep
431 ln ChangeLog README INSTALL ../${tempdir}/nextstep) 427 ln ChangeLog README INSTALL ../${tempdir}/nextstep)