diff options
-rw-r--r-- | Makefile.am | 5 | ||||
-rw-r--r-- | tests/lookup/Makefile.am | 3 | ||||
-rw-r--r-- | tests/storage/Makefile.am | 3 | ||||
-rw-r--r-- | utils/storage/Makefile.am | 3 |
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 |