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.
This commit is contained in:
parent
00030ef0b6
commit
945d8b4444
4 changed files with 17 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
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>
|
||||
|
||||
* configure, lib/Makefile.in, lib/getopt_int.h, lib/gnulib.mk:
|
||||
|
|
|
@ -280,17 +280,20 @@ cd lib
|
|||
Rem Rename files like djtar on plain DOS filesystem would.
|
||||
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 stddef.in.h update stddef.in.h stddef.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 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 unistd.in.h update unistd.in.h unistd.in-h
|
||||
sed -f ../msdos/sedlibcf.inp < Makefile.in > makefile.tmp
|
||||
sed -f ../msdos/sedlibmk.inp < makefile.tmp > Makefile
|
||||
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 for %%f in (*.c) do @call ..\msdos\depfiles.bat %%f
|
||||
If Not Exist deps\stamp echo deps-stamp > deps\stamp
|
||||
for %%f in (*.c) do @call ..\msdos\depfiles.bat %%f
|
||||
echo deps-stamp > deps\stamp
|
||||
cd ..
|
||||
rem ----------------------------------------------------------------------
|
||||
Echo Configuring the lisp directory...
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
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>
|
||||
|
||||
* depfiles.bat: New file.
|
||||
|
|
|
@ -20,6 +20,6 @@ rem along with GNU Emacs. If not, see http://www.gnu.org/licenses/.
|
|||
|
||||
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
|
||||
del tdepfile.bat
|
||||
|
|
Loading…
Add table
Reference in a new issue