Commit 945d8b44 authored by Eli Zaretskii's avatar Eli Zaretskii

Fix the MS-DOS configury due to new gnulib modules.

 config.bat: Rename stdint.in.h and sys_stat.in.h.  Call
 depfiles.bat even if lib/deps already exist.
 msdos/depfiles.bat: Create a dummy .Po file only if a file by the same
 name does not already exist in the deps/ subdirectory.
parent 00030ef0
2011-02-26 Eli Zaretskii <eliz@gnu.org>
* config.bat: Rename stdint.in.h and sys_stat.in.h. Call
depfiles.bat even if lib/deps already exist.
2011-02-25 Paul Eggert <eggert@cs.ucla.edu> 2011-02-25 Paul Eggert <eggert@cs.ucla.edu>
* configure, lib/Makefile.in, lib/getopt_int.h, lib/gnulib.mk: * configure, lib/Makefile.in, lib/getopt_int.h, lib/gnulib.mk:
......
...@@ -280,17 +280,20 @@ cd lib ...@@ -280,17 +280,20 @@ cd lib
Rem Rename files like djtar on plain DOS filesystem would. Rem Rename files like djtar on plain DOS filesystem would.
If Exist c++defs.h update c++defs.h cxxdefs.h If Exist c++defs.h update c++defs.h cxxdefs.h
If Exist getopt.in.h update getopt.in.h getopt.in-h If Exist getopt.in.h update getopt.in.h getopt.in-h
If Exist stddef.in.h update stddef.in.h stddef.in-h
If Exist stdbool.in.h update stdbool.in.h stdbool.in-h If Exist stdbool.in.h update stdbool.in.h stdbool.in-h
If Exist stddef.in.h update stddef.in.h stddef.in-h
If Exist stdint.in.h update stdint.in.h stdint.in-h
If Exist stdlib.in.h update stdlib.in.h stdlib.in-h 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
If Exist time.in.h update time.in.h time.in-h If Exist time.in.h update time.in.h time.in-h
If Exist unistd.in.h update unistd.in.h unistd.in-h If Exist unistd.in.h update unistd.in.h unistd.in-h
sed -f ../msdos/sedlibcf.inp < Makefile.in > makefile.tmp sed -f ../msdos/sedlibcf.inp < Makefile.in > makefile.tmp
sed -f ../msdos/sedlibmk.inp < makefile.tmp > Makefile sed -f ../msdos/sedlibmk.inp < makefile.tmp > Makefile
rm -f makefile.tmp rm -f makefile.tmp
Rem Create .Po files for new files in lib/
If Not Exist deps\stamp mkdir deps If Not Exist deps\stamp mkdir deps
If Not Exist deps\stamp for %%f in (*.c) do @call ..\msdos\depfiles.bat %%f for %%f in (*.c) do @call ..\msdos\depfiles.bat %%f
If Not Exist deps\stamp echo deps-stamp > deps\stamp echo deps-stamp > deps\stamp
cd .. cd ..
rem ---------------------------------------------------------------------- rem ----------------------------------------------------------------------
Echo Configuring the lisp directory... Echo Configuring the lisp directory...
......
2011-02-26 Eli Zaretskii <eliz@gnu.org>
* depfiles.bat: Create a dummy .Po file only if a file by the same
name does not already exist in the deps/ subdirectory.
2011-02-19 Eli Zaretskii <eliz@gnu.org> 2011-02-19 Eli Zaretskii <eliz@gnu.org>
* depfiles.bat: New file. * depfiles.bat: New file.
......
...@@ -20,6 +20,6 @@ rem along with GNU Emacs. If not, see http://www.gnu.org/licenses/. ...@@ -20,6 +20,6 @@ rem along with GNU Emacs. If not, see http://www.gnu.org/licenses/.
rem ---------------------------------------------------------------------- rem ----------------------------------------------------------------------
echo %1 | sed -e "s,^,@echo # dummy > deps\\," -e "s,\.c,.Po," > tdepfile.bat echo %1 | sed -e "s,\(.*\)\.c,@if not exist deps\\\1.Po echo # dummy > deps\\\1.Po," > tdepfile.bat
call tdepfile call tdepfile
del tdepfile.bat del tdepfile.bat
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment