Commit | Line | Data |
---|---|---|
f600cf3a KH |
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 | ||
23 | EMACS = ../../src/emacs | |
24 | DSTDIR = ../../lisp/international | |
25 | RUNEMACS = ${EMACS} -q --no-site-file --multibyte -batch | |
26 | ||
27 | all: charprop.el | |
28 | ||
29 | unidata-gen.elc: unidata-gen.el | |
30 | ${RUNEMACS} -f batch-byte-compile ./unidata-gen.el | |
31 | ||
32 | charprop.el: unidata-gen.elc UnicodeData.txt | |
33 | ${RUNEMACS} -l ./unidata-gen.elc -f unidata-gen-files | |
34 | ||
35 | install: charprop.el | |
36 | cp charprop.el ${DSTDIR} | |
37 | cp `sed -n 's/^;; FILE: //p' < charprop.el` ${DSTDIR} | |
38 | ||
39 | clean: | |
40 | if test -f charprop.el; then \ | |
41 | rm -f `sed -n 's/^;; FILE: //p' < charprop.el`; \ | |
42 | fi | |
43 | rm -f charprop.el unidata-gen.elc |