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)
\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
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
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 \
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)