.PHONY: all unifiles
-all: ${top_srcdir}/src/macuvs.h unifiles ${unidir}/charscript.el
-
-## Specify .elc as an order-only prereq so as to not needlessly rebuild
-## target just because the .elc is missing.
-## Same with charprop.el below.
-${top_srcdir}/src/macuvs.h: ${srcdir}/uvs.el ${srcdir}/IVD_Sequences.txt | \
- ${srcdir}/uvs.elc
- $(AM_V_GEN)${emacs} -L ${srcdir} -l uvs \
- --eval '(uvs-print-table-ivd (unmsys--file-name "${srcdir}/IVD_Sequences.txt") "Adobe-Japan1")' \
- > $@
+all: unifiles ${unidir}/charscript.el
%.elc: %.el
$(AM_V_ELC)${emacs} -f batch-byte-compile $<
## change and it slows down bootstrap (a tiny bit).
## Cf leim/ja-dic (which is much slower).
extraclean:
- rm -f ${top_srcdir}/src/macuvs.h ${unidir}/charscript.el*
+ rm -f ${unidir}/charscript.el*
ifneq (,$(wildcard $(unidir)/charprop.el))
cd $(unidir) && \
rm -f `sed -n 's/^;; FILE: //p' < charprop.el` charprop.el