annotate admin/unidata/Makefile.in @ 94139:1e40bf35d15e

(python-mode-map): Use abbrev-table-menu. (python-use-skeletons): Remove, unused. (python-skeletons): Remove. Use the abbrev table instead. (python-mode-abbrev-table): Fix regexp; add enable-function and case-fixed. (def-python-skeleton): Simplify. (python-expand-template): Use the abbrev-table and abbrev-insert. (python-abbrev-pc-hook, python-abbrev-syntax-table, python-pea-hook): Remove. (python-mode): Don't set pre-abbrev-expand-hook.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 17 Apr 2008 20:09:54 +0000
parents 008f96c5e9bc
children aeac1d771ae4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
91461
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1 # Makefile -- Makefile to generate character property tables.
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
2 # Copyright (C) 2005, 2006, 2007, 2008
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
3 # National Institute of Advanced Industrial Science and Technology (AIST)
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
4 # Registration Number H13PRO009
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
5 #
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
6 # This file is part of GNU Emacs.
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
7
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
8 # GNU Emacs is free software; you can redistribute it and/or modify
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
9 # it under the terms of the GNU General Public License as published by
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
10 # the Free Software Foundation; either version 3, or (at your option)
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
11 # any later version.
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
12
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
13 # GNU Emacs is distributed in the hope that it will be useful,
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
16 # GNU General Public License for more details.
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
17
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
18 # You should have received a copy of the GNU General Public License
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
19 # along with GNU Emacs; see the file COPYING. If not, write to the
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
20 # Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
21 # Boston, MA 02110-1301, USA.
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
22
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
23 EMACS = ../../src/emacs
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
24 DSTDIR = ../../lisp/international
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
25 RUNEMACS = ${EMACS} -Q --multibyte -batch
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
26
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
27 all: ${DSTDIR}/charprop.el
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
28
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
29 .el.elc:
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
30 ${RUNEMACS} -batch -f batch-byte-compile $<
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
31
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
32 unidata.txt: UnicodeData.txt
91873
008f96c5e9bc (unidata.txt): Don't use $<, it's non-portable in this context.
Eli Zaretskii <eliz@gnu.org>
parents: 91539
diff changeset
33 sed -e 's/\([^;]*\);\(.*\)/(#x\1 "\2")/' -e 's/;/" "/g' < UnicodeData.txt > $@
91461
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
34
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
35 ${DSTDIR}/charprop.el: unidata-gen.elc unidata.txt
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
36 ELC=`/bin/pwd`/unidata-gen.elc; \
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
37 DATA=`/bin/pwd`/unidata.txt; \
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
38 cd ${DSTDIR}; \
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
39 ${RUNEMACS} -batch --load $${ELC} -f unidata-gen-files $${DATA}
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
40
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
41 install: charprop.el
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
42 cp charprop.el ${DSTDIR}
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
43 cp `sed -n 's/^;; FILE: //p' < charprop.el` ${DSTDIR}
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
44
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
45 clean:
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
46 if test -f charprop.el; then \
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
47 rm -f `sed -n 's/^;; FILE: //p' < charprop.el`; \
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
48 fi
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
49 rm -f charprop.el unidata-gen.elc unidata.txt