aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorEli Zaretskii2008-02-02 15:00:20 +0000
committerEli Zaretskii2008-02-02 15:00:20 +0000
commitc7e85fc704c720526d763a081e85421d70d4c0f7 (patch)
treebe6f4bf17e80edd88926096e9f4dc31da24ef5dd /admin
parentee2502fab1bf74ba01b0aba9d52e63a247ef0d76 (diff)
downloademacs-c7e85fc704c720526d763a081e85421d70d4c0f7.tar.gz
emacs-c7e85fc704c720526d763a081e85421d70d4c0f7.zip
New file.
Diffstat (limited to 'admin')
-rw-r--r--admin/ChangeLog4
-rw-r--r--admin/unidata/makefile.w32-in52
2 files changed, 56 insertions, 0 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog
index 77fa6389101..4e69c72ddc3 100644
--- a/admin/ChangeLog
+++ b/admin/ChangeLog
@@ -1,3 +1,7 @@
12008-02-02 Eli Zaretskii <eliz@gnu.org>
2
3 * unidata/makefile.w32-in: New file.
4
12008-02-02 Jason Rumney <jasonr@gnu.org> 52008-02-02 Jason Rumney <jasonr@gnu.org>
2 6
3 * unidata/unidata-gen.el (unidata-gen-files): Force unix line ends. 7 * unidata/unidata-gen.el (unidata-gen-files): Force unix line ends.
diff --git a/admin/unidata/makefile.w32-in b/admin/unidata/makefile.w32-in
new file mode 100644
index 00000000000..8e75f07d182
--- /dev/null
+++ b/admin/unidata/makefile.w32-in
@@ -0,0 +1,52 @@
1# makefile.w32-in -- W32 -*- Makefile -*- to generate character property tables.
2# Copyright (C) 2005, 2006, 2007, 2008
3# National Institute of Advanced Industrial Science and Technology (AIST)
4# Registration Number H13PRO009
5#
6# This file is part of GNU Emacs.
7
8# GNU Emacs is free software; you can redistribute it and/or modify
9# it under the terms of the GNU General Public License as published by
10# the Free Software Foundation; either version 3, or (at your option)
11# any later version.
12
13# GNU Emacs is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16# GNU General Public License for more details.
17
18# You should have received a copy of the GNU General Public License
19# along with GNU Emacs; see the file COPYING. If not, write to the
20# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21# Boston, MA 02110-1301, USA.
22
23EMACS = ../../src/$(BLD)/emacs.exe
24DSTDIR = ../../lisp/international
25EMACSLOADPATH = $(CURDIR)/../../lisp
26# Quote EMACS so it could be a file name with embedded whitespace
27RUNEMACS = "$(EMACS)" -Q --multibyte -batch
28
29all: $(DSTDIR)/charprop.el
30
31.el.elc:
32 $(RUNEMACS) -f batch-byte-compile $<
33
34unidata.txt: UnicodeData.txt
35 sed -e "s/\([^;]*\);\(.*\)/(#x\1 \"\2\")/" -e "s/;/\" \"/g" < $< > $@
36
37charprop-SH: unidata-gen.elc unidata.txt
38 ELC=$(CURDIR)/unidata-gen.elc; \
39 DATA=$(CURDIR)/unidata.txt; \
40 cd $(DSTDIR); \
41 $(RUNEMACS) --load $${ELC} -f unidata-gen-files $${DATA}
42
43charprop-CMD: unidata-gen.elc unidata.txt
44 cd $(DSTDIR)
45 $(RUNEMACS) --load $(CURDIR)/unidata-gen.elc -f unidata-gen-files $(CURDIR/unidata.txt
46 cd ../../admin/unidata
47
48${DSTDIR}/charprop.el: charprop-$(SHELLTYPE)
49
50clean:
51 - $(DEL) unidata-gen.elc unidata.txt
52