aboutsummaryrefslogtreecommitdiffstats
path: root/msdos
diff options
context:
space:
mode:
authorEli Zaretskii2011-02-19 18:53:10 +0200
committerEli Zaretskii2011-02-19 18:53:10 +0200
commit219463da10f01fece14351d6ccecccb43a27885f (patch)
treea8ab269c1b011d47de6bfb79df08d59e0e97e816 /msdos
parent152be435b98c485f75160e86f67d250122b7e1bd (diff)
downloademacs-219463da10f01fece14351d6ccecccb43a27885f.tar.gz
emacs-219463da10f01fece14351d6ccecccb43a27885f.zip
Fix generation of auto-dependency files in lib/.
.bzrignore: Add lib/deps/. config.bat: Generate *.Po files in lib/deps. msdos/sedlibmk.inp (CONFIG_CLEAN_VPATH_FILES): Fix editing of *-clean rules. msdos/depfiles.bat: New file.
Diffstat (limited to 'msdos')
-rw-r--r--msdos/ChangeLog5
-rw-r--r--msdos/depfiles.bat25
-rw-r--r--msdos/sedlibmk.inp2
3 files changed, 31 insertions, 1 deletions
diff --git a/msdos/ChangeLog b/msdos/ChangeLog
index 9a98352ff23..7a4d107eebe 100644
--- a/msdos/ChangeLog
+++ b/msdos/ChangeLog
@@ -1,5 +1,10 @@
12011-02-19 Eli Zaretskii <eliz@gnu.org> 12011-02-19 Eli Zaretskii <eliz@gnu.org>
2 2
3 * sedlibmk.inp (CONFIG_CLEAN_VPATH_FILES): Fix editing of *-clean
4 rules.
5
6 * depfiles.bat: New file.
7
3 * sedlibmk.inp: New file. 8 * sedlibmk.inp: New file.
4 9
5 * sedlibcf.inp: New file. 10 * sedlibcf.inp: New file.
diff --git a/msdos/depfiles.bat b/msdos/depfiles.bat
new file mode 100644
index 00000000000..22fcfc3dcd6
--- /dev/null
+++ b/msdos/depfiles.bat
@@ -0,0 +1,25 @@
1@echo off
2rem ----------------------------------------------------------------------
3rem Auxiliary script for MSDOS, run by ../config.bat
4rem Copyright (C) 2011 Free Software Foundation, Inc.
5
6rem This file is part of GNU Emacs.
7
8rem GNU Emacs is free software: you can redistribute it and/or modify
9rem it under the terms of the GNU General Public License as published by
10rem the Free Software Foundation, either version 3 of the License, or
11rem (at your option) any later version.
12
13rem GNU Emacs is distributed in the hope that it will be useful,
14rem but WITHOUT ANY WARRANTY; without even the implied warranty of
15rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16rem GNU General Public License for more details.
17
18rem You should have received a copy of the GNU General Public License
19rem along with GNU Emacs. If not, see http://www.gnu.org/licenses/.
20
21rem ----------------------------------------------------------------------
22
23echo %1 | sed -e "s,^,@echo # dummy > deps\\," -e "s,\.c,.Po," > tdepfile.bat
24call tdepfile
25del tdepfile.bat
diff --git a/msdos/sedlibmk.inp b/msdos/sedlibmk.inp
index 2ee342eb29a..becdbfb598a 100644
--- a/msdos/sedlibmk.inp
+++ b/msdos/sedlibmk.inp
@@ -285,7 +285,7 @@ s/^@am__fastdepCC_FALSE/\#/
285CONFIG_CLEAN_FILES = xyzzy 285CONFIG_CLEAN_FILES = xyzzy
286/^CONFIG_CLEAN_VPATH_FILES *= *$/c\ 286/^CONFIG_CLEAN_VPATH_FILES *= *$/c\
287CONFIG_CLEAN_VPATH_FILES = xyzzy 287CONFIG_CLEAN_VPATH_FILES = xyzzy
288s/^ -*test -z.*|| rm/ -rm/ 288s/^ -*test -z.*|| rm/ -rm/
289s/@echo /@djecho/ 289s/@echo /@djecho/
290# 290#
291# Fix the recipes for header files 291# Fix the recipes for header files