File: Makefile.am

package info (click to toggle)
tomoe 0.6.0-1.3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 51,396 kB
  • sloc: xml: 1,387,526; ansic: 11,515; sh: 9,072; ruby: 1,344; python: 762; makefile: 450
file content (56 lines) | stat: -rw-r--r-- 1,792 bytes parent folder | download | duplicates (2)
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
# -*- Mode: Makefile; tab-width: 8; indent-tabs-mode: t; -*-

## Makefile.am -- Process this file with automake to produce Makefile.in
## Copyright (C) 2005 Takuro Ashie <ashie@homa.ne.jp>
##
## This library is free software; you can redistribute it and/or
## modify it under the terms of the GNU Lesser General Public
## License as published by the Free Software Foundation; either
## version 2 of the License, or (at your option) any later version.
##
## This library is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
## GNU Lesser General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public
## License along with this program; if not, write to the
## Free Software Foundation, Inc., 59 Temple Place, Suite 330,
## Boston, MA  02111-1307  USA

CLEANFILES = *~ *.bak *.valid handwriting.xml

pkgdata_DATA = dict.dtd xml2est.rb
dict_data_DATA =
recognizer_data_DATA = handwriting-zh_CN.xml handwriting-ja.xml
conf_DATA = config

EXTRA_DIST =						\
	kanjidic2-original.xml kanjidic2-original.xsl	\
	kanjidic.html kanjidic2.html			\
	kanjidic-licence.html				\
	kanjidic2.xml					\
	$(pkgdata_DATA)					\
	$(dict_data_DATA)				\
	$(recognizer_data_DATA)				\
	$(conf_DATA)

kanjidic2.xml: kanjidic2-original.xsl kanjidic2-original.xml
	$(XSLTPROC) kanjidic2-original.xsl kanjidic2-original.xml > $@

SUFFIXES: .xml .valid

.xml.valid:
	$(RXP) -s -V $<
	touch $@

.PHONY: validate

validate: handwriting-zh_CN.valid handwriting-ja.valid kanjidic2.valid


# temporary added for hardcoded test code.
# should be removed
BUILT_SOURCES = handwriting.xml
handwriting.xml:
	ln -sf handwriting-ja.xml handwriting.xml