-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
41 lines (31 loc) · 1.22 KB
/
Makefile.am
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
ACLOCAL_AMFLAGS=-I m4
EXTRA_DIST = COPYING.LIB2_1 \
README.2007.ja THANKS.2007.ja NEWS.2007.ja INSTALL.2006.ja \
ChangeLog.2001-2009 ChangeLog.2010 ChangeLog.2015 \
anthy-conf.in anthy-test-conf.in anthy.spec.in anthy.pc.in Doxyfile \
corpus/corpus.0.txt corpus/corpus.1.txt corpus/corpus.2.txt \
corpus/corpus.3.txt corpus/corpus.4.txt corpus/corpus.5.txt
SRCDIR = src-diclib src-worddic src-splitter src-ordering src-main src-util
SUBDIRS = $(SRCDIR) anthy depgraph mkworddic calctrans mkanthydic doc test alt-cannadic
sysconf_DATA = anthy-conf
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = anthy.pc
MOSTLYCLEANFILES = core
dist-hook: gen-ChangeLog
gen_start_date = 2019-01-01
.PHONY: gen-ChangeLog
gen-ChangeLog:
cd $(srcdir) && \
$(AM_V_GEN)if test -d .git; then \
log_fix="build-aux/git-log-fix"; \
test -e "$$log_fix" \
&& amend_git_log="--amend=$$log_fix" \
|| amend_git_log=; \
build-aux/gitlog-to-changelog \
$$amend_git_log --since=$(gen_start_date) \
--ignore-matching '^;' > $(distdir)/cl-t && \
{ rm -f $(distdir)/ChangeLog && \
mv $(distdir)/cl-t $(distdir)/ChangeLog; } \
fi
install-exec-hook:
find $(DESTDIR)$(libdir) -type f -name \*.la -delete