Mercurial > emacs
annotate admin/unidata/Makefile @ 90866:109057569e6e
(w32_output_data) [USE_FONT_BACKEND]: Add fontp member.
(FRAME_FONT_OBJECT) [USE_FONT_BACKEND]: New macro from xterm.h.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Thu, 31 May 2007 00:52:52 +0000 |
parents | 486187fb0de5 |
children | 9029580ce6d9 |
rev | line source |
---|---|
90086 | 1 # Makefile -- Makefile to generate character property tables. |
2 # Copyright (C) 2005 | |
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 2, 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., 59 Temple Place - Suite 330, | |
21 # Boston, MA 02111-1307, USA. | |
22 | |
90172
a6b2dca95008
(EMACS): Rename back to Emacs and set to emacs.
Kenichi Handa <handa@m17n.org>
parents:
90167
diff
changeset
|
23 EMACS = ../../src/emacs |
90086 | 24 DSTDIR = ../../lisp/international |
90172
a6b2dca95008
(EMACS): Rename back to Emacs and set to emacs.
Kenichi Handa <handa@m17n.org>
parents:
90167
diff
changeset
|
25 RUNEMACS = ${EMACS} -Q --multibyte -batch |
90086 | 26 |
90172
a6b2dca95008
(EMACS): Rename back to Emacs and set to emacs.
Kenichi Handa <handa@m17n.org>
parents:
90167
diff
changeset
|
27 all: ${DSTDIR}/charprop.el |
90086 | 28 |
90172
a6b2dca95008
(EMACS): Rename back to Emacs and set to emacs.
Kenichi Handa <handa@m17n.org>
parents:
90167
diff
changeset
|
29 .el.elc: |
a6b2dca95008
(EMACS): Rename back to Emacs and set to emacs.
Kenichi Handa <handa@m17n.org>
parents:
90167
diff
changeset
|
30 ${RUNEMACS} -batch -f batch-byte-compile $< |
90086 | 31 |
90167 | 32 unidata.txt: UnicodeData.txt |
33 sed -e 's/\([^;]*\);\(.*\)/(#x\1 "\2")/' -e 's/;/" "/g' < $< > $@ | |
34 | |
90172
a6b2dca95008
(EMACS): Rename back to Emacs and set to emacs.
Kenichi Handa <handa@m17n.org>
parents:
90167
diff
changeset
|
35 ${DSTDIR}/charprop.el: unidata-gen.elc unidata.txt |
a6b2dca95008
(EMACS): Rename back to Emacs and set to emacs.
Kenichi Handa <handa@m17n.org>
parents:
90167
diff
changeset
|
36 ELC=`/bin/pwd`/unidata-gen.elc; \ |
a6b2dca95008
(EMACS): Rename back to Emacs and set to emacs.
Kenichi Handa <handa@m17n.org>
parents:
90167
diff
changeset
|
37 DATA=`/bin/pwd`/unidata.txt; \ |
a6b2dca95008
(EMACS): Rename back to Emacs and set to emacs.
Kenichi Handa <handa@m17n.org>
parents:
90167
diff
changeset
|
38 cd ${DSTDIR}; \ |
a6b2dca95008
(EMACS): Rename back to Emacs and set to emacs.
Kenichi Handa <handa@m17n.org>
parents:
90167
diff
changeset
|
39 ${RUNEMACS} -batch --load $${ELC} -f unidata-gen-files $${DATA} |
90086 | 40 |
41 install: charprop.el | |
42 cp charprop.el ${DSTDIR} | |
43 cp `sed -n 's/^;; FILE: //p' < charprop.el` ${DSTDIR} | |
44 | |
45 clean: | |
46 if test -f charprop.el; then \ | |
47 rm -f `sed -n 's/^;; FILE: //p' < charprop.el`; \ | |
48 fi | |
90167 | 49 rm -f charprop.el unidata-gen.elc unidata.txt |
90178 | 50 |
51 # arch-tag: 3f576384-a8e7-4ec5-9d2e-9190c71683b4 |