1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164
|
# -*- Makefile -*-
#
# $Id: Makefile.am,v 1.11 1999/07/23 10:11:16 satoru Exp $
#
EXTRA_DIST = install.el texi/sdic.texi contrib/edict.perl contrib/eijirou.perl contrib/gene.perl contrib/jgene.perl
DISTCLEANFILES = install.el texi/sdic.info
SUBDIRS = lisp
dict: @EIWA_DICT@ @WAEI_DICT@
# info_TEXINFOS = sdic.texi # this requires makeinfo
install-dict:
$(mkinstalldirs) @DICTDIR@
$(INSTALL_DATA) @EIWA_DICT@ @DICTDIR@
$(INSTALL_DATA) @WAEI_DICT@ @DICTDIR@
install-info: texi/sdic.info
$(INSTALL_DATA) texi/sdic.info @infodir@
info: texi/sdic.info
texi/sdic.info: texi/sdic.texi
$(EMACS) -batch -q -l install.el -f batch-texinfo-format $?
config: lisp/sample.emacs
@echo -n " $$HOME/.emacs ޤ[yes/no] " ;\
read YN ;\
test "$$YN" = yes
@if [ -f "$$HOME/.emacs" ] ;\
then \
echo " $$HOME/.emacs $$HOME/.emacs.orig Ȥ¸ޤ";\
cp -p $$HOME/.emacs $$HOME/.emacs.orig ;\
fi
( echo ; cat lisp/sample.emacs )>>$$HOME/.emacs
## 뤿Υ롼
gene.dic: contrib/gene.perl gene.txt
@NKF@ -S -e gene.txt | @PERL@ contrib/gene.perl --compat > $@
gene.sdic: contrib/gene.perl gene.txt
@NKF@ -S -e gene.txt | @PERL@ contrib/gene.perl > $@
jgene.dic: contrib/jgene.perl gene.dic
@PERL@ contrib/jgene.perl --compat < gene.dic > $@
jgene.sdic: gene.dic
@PERL@ contrib/jgene.perl < gene.dic > $@
gene.txt:
test -f gene95.lzh -o -f gene95.tar.gz -o -f gene95.tar.bz2
if [ -f gene95.lzh ]; then \
lha x gene95.lzh gene.txt; \
elif [ -f gene95.tar.gz ]; then \
@GZIP@ -dc gene95.tar.gz | tar xf - gene.txt; \
else \
@BZIP2@ -dc gene95.tar.bz2 | tar xf - gene.txt; \
fi
test -s gene.txt
eijirou.dic: contrib/eijirou.perl
@NKF@ -S -e @EIJIROU_DIR@/*.txt | @PERL@ contrib/eijirou.perl --compat > $@
eijirou.sdic: contrib/eijirou.perl
@NKF@ -S -e @EIJIROU_DIR@/*.txt | @PERL@ contrib/eijirou.perl > $@
waeijirou.dic: contrib/eijirou.perl
@NKF@ -S -e @WAEIJIROU_DIR@/*.txt | @PERL@ contrib/eijirou.perl --waei --compat > $@
waeijirou.sdic: contrib/eijirou.perl
@NKF@ -S -e @WAEIJIROU_DIR@/*.txt | @PERL@ contrib/eijirou.perl --waei > $@
jedict.sdic: edict contrib/edict.perl
@PERL@ contrib/edict.perl edict > $@
j4jwords.sdic: 4jwords contrib/edict.perl
@PERL@ contrib/edict.perl 4jwords > $@
jcompdic.sdic: compdic contrib/edict.perl
@PERL@ contrib/edict.perl compdic > $@
jenamdict.sdic: enamdict contrib/edict.perl
@PERL@ contrib/edict.perl enamdict > $@
eedict.sdic: edict contrib/edict.perl
@PERL@ contrib/edict.perl --reverse edict > $@
e4jwords.sdic: 4jwords contrib/edict.perl
@PERL@ contrib/edict.perl --reverse 4jwords > $@
ecompdic.sdic: compdic contrib/edict.perl
@PERL@ contrib/edict.perl --reverse compdic > $@
eenamdict.sdic: enamdict contrib/edict.perl
@PERL@ contrib/edict.perl --reverse enamdict > $@
jedict.dic: edict
@NKF@ -deZ2 edict | \
@PERL@ -pe 's!\s+/!\t!;s!/!, !g;s!, $$!!' | @SORT@ -f > $@
j4jwords.dic: 4jwords
@NKF@ -deZ2 4jwords | \
@PERL@ -pe 's!\s+/!\t!;s!/!, !g;s!, $$!!' | @SORT@ -f > $@
jcompdic.dic: compdic
@NKF@ -deZ2 compdic | \
@PERL@ -pe 's!\s+/!\t!;s!/!, !g;s!, $$!!' | @SORT@ -f > $@
jenamdict.dic: enamdict
@NKF@ -deZ2 enamdict | \
@PERL@ -pe 's!\s+/!\t!;s!/!, !g;s!, $$!!' | @SORT@ -f > $@
eedict.dic: edict
@PERL@ contrib/edict.perl --reverse edict | \
@PERL@ contrib/gene.perl --sdic-to-compat > $@
e4jwords.dic: 4jwords
@PERL@ contrib/edict.perl --reverse 4jwords | \
@PERL@ contrib/gene.perl --sdic-to-compat > $@
ecompdic.dic: compdic
@PERL@ contrib/edict.perl --reverse compdic | \
@PERL@ contrib/gene.perl --sdic-to-compat > $@
eenamdict.dic: enamdict
@PERL@ contrib/edict.perl --reverse enamdict | \
@PERL@ contrib/gene.perl --sdic-to-compat > $@
edict:
test -f $@.gz -o -f $@.bz2
if [ -f $@.gz ]; then \
@GZIP@ -dc $@.gz >$@ ;\
else \
@BZIP2@ -dc $@.bz2 >$@ ;\
fi
test -s $@
4jwords:
test -f $@.gz -o -f $@.bz2
if [ -f $@.gz ]; then \
@GZIP@ -dc $@.gz >$@ ;\
else \
@BZIP2@ -dc $@.bz2 >$@ ;\
fi
test -s $@
compdic:
test -f $@.gz -o -f $@.bz2
if [ -f $@.gz ]; then \
@GZIP@ -dc $@.gz >$@ ;\
else \
@BZIP2@ -dc $@.bz2 >$@ ;\
fi
test -s $@
enamdict:
test -f $@.gz -o -f $@.bz2
if [ -f $@.gz ]; then \
@GZIP@ -dc $@.gz >$@ ;\
else \
@BZIP2@ -dc $@.bz2 >$@ ;\
fi
test -s $@
|