diff options
| author | Eli Zaretskii | 2011-10-31 19:49:10 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2011-10-31 19:49:10 +0200 |
| commit | 07f3add98f088ff068aacb0429210900e95b90c3 (patch) | |
| tree | 08365f7a950eeda0df82a3e33c17da37f94e7afc | |
| parent | 0bd3cb7b2f44639e1da2245b086cedeabbfe46cf (diff) | |
| download | emacs-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-- | ChangeLog | 8 | ||||
| -rw-r--r-- | config.bat | 9 | ||||
| -rwxr-xr-x | make-dist | 6 |
3 files changed, 11 insertions, 12 deletions
| @@ -1,9 +1,9 @@ | |||
| 1 | 2011-10-31 Eli Zaretskii <eliz@gnu.org> | 1 | 2011-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 | ||
| 8 | 2011-10-25 Nali Toja <nalitoja@gmail.com> (tiny change) | 8 | 2011-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 | ||
| 157 | rem Create "config.h" | 157 | rem Create "config.h" |
| 158 | rm -f config.h2 config.tmp | 158 | rm -f config.h2 config.tmp |
| 159 | sed -e '' ../autogen/config.in > config.tmp | 159 | if exist config.in sed -e '' config.in > config.tmp |
| 160 | if exist ..\autogen\config.in sed -e '' ../autogen/config.in > config.tmp | ||
| 160 | if "%X11%" == "" goto src4 | 161 | if "%X11%" == "" goto src4 |
| 161 | sed -f ../msdos/sed2x.inp < ..\autogen\config.in > config.tmp | 162 | if exist config.in sed -f ../msdos/sed2x.inp < config.in > config.tmp |
| 163 | if exist ..\autogen\config.in sed -f ../msdos/sed2x.inp < ..\autogen\config.in > config.tmp | ||
| 162 | :src4 | 164 | :src4 |
| 163 | sed -f ../msdos/sed2v2.inp <config.tmp >config.h2 | 165 | sed -f ../msdos/sed2v2.inp <config.tmp >config.h2 |
| 164 | Rem See if DECL_ALIGN can be supported with this GCC | 166 | Rem 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 | |||
| 290 | If Exist sys_stat.in.h update sys_stat.in.h sys_stat.in-h | 292 | If Exist sys_stat.in.h update sys_stat.in.h sys_stat.in-h |
| 291 | If Exist time.in.h update time.in.h time.in-h | 293 | If Exist time.in.h update time.in.h time.in-h |
| 292 | If Exist unistd.in.h update unistd.in.h unistd.in-h | 294 | If Exist unistd.in.h update unistd.in.h unistd.in-h |
| 293 | sed -f ../msdos/sedlibcf.inp < ..\autogen\Makefile.in > makefile.tmp | 295 | If Exist Makefile.in sed -f ../msdos/sedlibcf.inp < Makefile.in > makefile.tmp |
| 296 | If Exist ..\autogen\Makefile.in sed -f ../msdos/sedlibcf.inp < ..\autogen\Makefile.in > makefile.tmp | ||
| 294 | sed -f ../msdos/sedlibmk.inp < makefile.tmp > Makefile | 297 | sed -f ../msdos/sedlibmk.inp < makefile.tmp > Makefile |
| 295 | rm -f makefile.tmp | 298 | rm -f makefile.tmp |
| 296 | Rem Create .Po files for new files in lib/ | 299 | Rem Create .Po files for new files in lib/ |
| @@ -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 | ||
| 425 | echo "Making links to \`autogen'" | ||
| 426 | (cd autogen | ||
| 427 | ln README config.in Makefile.in ../${tempdir}/autogen) | ||
| 428 | |||
| 429 | echo "Making links to \`nextstep'" | 425 | echo "Making links to \`nextstep'" |
| 430 | (cd nextstep | 426 | (cd nextstep |
| 431 | ln ChangeLog README INSTALL ../${tempdir}/nextstep) | 427 | ln ChangeLog README INSTALL ../${tempdir}/nextstep) |