* lisp/emacs-lisp/helpers.el: Add some string helpers.
[emacs.git] / admin / unidata / Makefile.in
blob4d9473635143cb2c514d6983695aa188428f38c4
1 ### @configure_input@
3 # Copyright (C) 2012-2013 Free Software Foundation, Inc.
5 # Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011
6 # National Institute of Advanced Industrial Science and Technology (AIST)
7 # Registration Number H13PRO009
9 # This file is part of GNU Emacs.
11 # GNU Emacs is free software: you can redistribute it and/or modify
12 # it under the terms of the GNU General Public License as published by
13 # the Free Software Foundation, either version 3 of the License, or
14 # (at your option) any later version.
16 # GNU Emacs is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # GNU General Public License for more details.
21 # You should have received a copy of the GNU General Public License
22 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
24 SHELL = @SHELL@
26 srcdir = @srcdir@
27 top_srcdir = @top_srcdir@
28 top_builddir = @top_builddir@
30 EMACS = ${top_builddir}/src/emacs
31 DSTDIR = ${top_srcdir}/lisp/international
32 emacs = "${EMACS}" -batch --no-site-file --no-site-lisp
34 all: ${DSTDIR}/charprop.el
36 .el.elc:
37 ${emacs} -f batch-byte-compile $<
39 unidata.txt: ${srcdir}/UnicodeData.txt
40 sed -e 's/\([^;]*\);\(.*\)/(#x\1 "\2")/' -e 's/;/" "/g' < ${srcdir}/UnicodeData.txt > $@
42 ${DSTDIR}/charprop.el: ${srcdir}/unidata-gen.elc unidata.txt
43 ${emacs} -L ${srcdir} -l unidata-gen -f unidata-gen-files \
44 ${srcdir} "${DSTDIR}"
46 ## Like the above, but generate in PWD rather than lisp/international.
47 charprop.el: ${srcdir}/unidata-gen.elc unidata.txt
48 ${emacs} -L ${srcdir} -l unidata-gen -f unidata-gen-files \
49 ${srcdir}
51 install: charprop.el
52 cp charprop.el ${DSTDIR}
53 cp `sed -n 's/^;; FILE: //p' < charprop.el` ${DSTDIR}
55 clean:
56 if test -f charprop.el; then \
57 rm -f `sed -n 's/^;; FILE: //p' < charprop.el`; \
59 rm -f charprop.el ${srcdir}/*.elc unidata.txt
61 bootstrap-clean: clean
63 distclean: clean
64 -rm -f ./Makefile
66 maintainer-clean: distclean