summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2017-05-22 13:21:46 +0800
committerPeng Wu <alexepico@gmail.com>2017-05-22 13:21:46 +0800
commit569b8aff152575be36b791cb86d07ca862892e58 (patch)
treef95f738246dc26ad9d41892b823f7b599f5bb861
parent7f3d8cd9dd47b3b14bc240276ffd13d7cf39644f (diff)
downloadlibpinyin-569b8aff152575be36b791cb86d07ca862892e58.zip
libpinyin-569b8aff152575be36b791cb86d07ca862892e58.tar.gz
libpinyin-569b8aff152575be36b791cb86d07ca862892e58.tar.xz
update Makefile.am
-rw-r--r--Makefile.am4
-rw-r--r--src/Makefile.am9
2 files changed, 9 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index f800b24..6266b2d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -27,3 +27,7 @@ ACLOCAL_AMFLAGS = -I m4
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libpinyin.pc
+
+if ENABLE_LIBZHUYIN
+pkgconfig_DATA += libzhuyin.pc
+endif
diff --git a/src/Makefile.am b/src/Makefile.am
index a0de416..c821d04 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -17,7 +17,8 @@
AUTOMAKE_OPTIONS = gnu
SUBDIRS = include storage lookup
-EXTRA_DIST = libpinyin.ver
+EXTRA_DIST = libpinyin.ver \
+ libzhuyin.ver
MAINTAINERCLEANFILES = Makefile.in
@@ -26,9 +27,9 @@ CLEANFILES = *.bak
ACLOCAL = aclocal -I $(ac_aux_dir)
INCLUDES = -I$(top_srcdir)/src \
- -I$(top_srcdir)/src/include \
- -I$(top_srcdir)/src/storage \
- -I$(top_srcdir)/src/lookup \
+ -I$(top_srcdir)/src/include \
+ -I$(top_srcdir)/src/storage \
+ -I$(top_srcdir)/src/lookup \
@GLIB2_CFLAGS@
libpinyinincludedir = $(includedir)/libpinyin-@VERSION@