File: Makefile.am

package info (click to toggle)
anthy 1:0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 23,596 kB
  • sloc: ansic: 24,444; sh: 4,186; lisp: 1,265; makefile: 238
file content (37 lines) | stat: -rw-r--r-- 1,213 bytes parent folder | download
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
AUTOMAKE_OPTIONS =
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:
	$(AM_V_GEN)if test -d $(srcdir)/.git; then			\
	  log_fix="$(srcdir)/build-aux/git-log-fix";			\
	  test -e "$$log_fix"						\
	    && amend_git_log="--amend=$$log_fix"			\
	    || amend_git_log=;						\
	  $(top_srcdir)/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