summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2019-12-26 12:06:13 +0800
committerPeng Wu <alexepico@gmail.com>2019-12-26 14:01:52 +0800
commit9a2520b19a068ccf86cfda537ef114b7d1ae58a7 (patch)
tree8edd864ad855b03efebe5e8a491907e3c693625b
parentc1f5eda1df8cbba3a00269aac35b207eb8eeb5c4 (diff)
downloadlibpinyin-9a2520b19a068ccf86cfda537ef114b7d1ae58a7.tar.gz
libpinyin-9a2520b19a068ccf86cfda537ef114b7d1ae58a7.tar.xz
libpinyin-9a2520b19a068ccf86cfda537ef114b7d1ae58a7.zip
update Makefile.am
-rw-r--r--Makefile.am5
-rw-r--r--tests/lookup/Makefile.am3
-rw-r--r--tests/storage/Makefile.am3
-rw-r--r--utils/storage/Makefile.am3
4 files changed, 11 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 6266b2d..fbaefed 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -31,3 +31,8 @@ pkgconfig_DATA = libpinyin.pc
if ENABLE_LIBZHUYIN
pkgconfig_DATA += libzhuyin.pc
endif
+
+dist-hook:
+ if test -d .git ; then \
+ git log --name-status --date=iso > $(distdir)/ChangeLog ; \
+ fi
diff --git a/tests/lookup/Makefile.am b/tests/lookup/Makefile.am
index c96bfb2..027298b 100644
--- a/tests/lookup/Makefile.am
+++ b/tests/lookup/Makefile.am
@@ -25,7 +25,8 @@ LDADD = \
../../src/libpinyin_internal.a \
../../src/storage/libstorage.a \
../../src/lookup/liblookup.a \
- @GLIB2_LIBS@
+ @GLIB2_LIBS@ \
+ $(NULL)
noinst_PROGRAMS = test_pinyin_lookup \
test_phrase_lookup
diff --git a/tests/storage/Makefile.am b/tests/storage/Makefile.am
index d08d923..6b05918 100644
--- a/tests/storage/Makefile.am
+++ b/tests/storage/Makefile.am
@@ -25,7 +25,8 @@ LDADD = \
../../src/libpinyin_internal.a \
../../src/storage/libstorage.a \
../../src/lookup/liblookup.a \
- @GLIB2_LIBS@
+ @GLIB2_LIBS@ \
+ $(NULL)
TESTS = test_phrase_index_logger \
test_ngram \
diff --git a/utils/storage/Makefile.am b/utils/storage/Makefile.am
index 262e0de..256386b 100644
--- a/utils/storage/Makefile.am
+++ b/utils/storage/Makefile.am
@@ -25,7 +25,8 @@ LDADD = \
../../src/libpinyin_internal.a \
../../src/storage/libstorage.a \
../../src/lookup/liblookup.a \
- @GLIB2_LIBS@
+ @GLIB2_LIBS@ \
+ $(NULL)
bin_PROGRAMS = gen_binary_files \
import_interpolation