summaryrefslogtreecommitdiff
path: root/msdos/depfiles.bat
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2011-02-19 18:53:10 +0200
committerEli Zaretskii <eliz@gnu.org>2011-02-19 18:53:10 +0200
commit219463da10f01fece14351d6ccecccb43a27885f (patch)
treea8ab269c1b011d47de6bfb79df08d59e0e97e816 /msdos/depfiles.bat
parent152be435b98c485f75160e86f67d250122b7e1bd (diff)
downloademacs-219463da10f01fece14351d6ccecccb43a27885f.tar.gz
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/depfiles.bat')
-rw-r--r--msdos/depfiles.bat25
1 files changed, 25 insertions, 0 deletions
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 @@
+@echo off
+rem ----------------------------------------------------------------------
+rem Auxiliary script for MSDOS, run by ../config.bat
+rem Copyright (C) 2011 Free Software Foundation, Inc.
+
+rem This file is part of GNU Emacs.
+
+rem GNU Emacs is free software: you can redistribute it and/or modify
+rem it under the terms of the GNU General Public License as published by
+rem the Free Software Foundation, either version 3 of the License, or
+rem (at your option) any later version.
+
+rem GNU Emacs is distributed in the hope that it will be useful,
+rem but WITHOUT ANY WARRANTY; without even the implied warranty of
+rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+rem GNU General Public License for more details.
+
+rem You should have received a copy of the GNU General Public License
+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
+call tdepfile
+del tdepfile.bat