annotate admin/unidata/Makefile @ 90086:f16730ea4562

New file.
author Kenichi Handa <handa@m17n.org>
date Sun, 30 Jan 2005 11:22:05 +0000
parents
children 098f05ddcc64
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
90086
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1 # Makefile -- Makefile to generate character property tables.
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2 # Copyright (C) 2005
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
3 # National Institute of Advanced Industrial Science and Technology (AIST)
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
4 # Registration Number H13PRO009
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
5 #
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
6 # This file is part of GNU Emacs.
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
7
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
8 # GNU Emacs is free software; you can redistribute it and/or modify
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
9 # it under the terms of the GNU General Public License as published by
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
10 # the Free Software Foundation; either version 2, or (at your option)
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
11 # any later version.
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
12
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
13 # GNU Emacs is distributed in the hope that it will be useful,
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
16 # GNU General Public License for more details.
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
17
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
18 # You should have received a copy of the GNU General Public License
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
19 # along with GNU Emacs; see the file COPYING. If not, write to the
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
20 # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
21 # Boston, MA 02111-1307, USA.
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
22
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
23 EMACS = ../../src/emacs
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
24 DSTDIR = ../../lisp/international
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
25 RUNEMACS = ${EMACS} -q --no-site-file --multibyte -batch
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
26
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
27 all: charprop.el
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
28
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
29 unidata-gen.elc: unidata-gen.el
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
30 ${RUNEMACS} -f batch-byte-compile ./unidata-gen.el
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
31
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
32 charprop.el: unidata-gen.elc UnicodeData.txt
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
33 ${RUNEMACS} -l ./unidata-gen.elc -f unidata-gen-files
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
34
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
35 install: charprop.el
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
36 cp charprop.el ${DSTDIR}
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
37 cp `sed -n 's/^;; FILE: //p' < charprop.el` ${DSTDIR}
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
38
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
39 clean:
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
40 if test -f charprop.el; then \
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
41 rm -f `sed -n 's/^;; FILE: //p' < charprop.el`; \
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
42 fi
f16730ea4562 New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
43 rm -f charprop.el unidata-gen.elc