summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac1
-rw-r--r--doc/Makefile.am24
3 files changed, 26 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 25cbc0c..4e80161 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,7 +18,7 @@
EXTRA_DIST = COPYING
AUTOMAKE_OPTIONS = gnu
-SUBDIRS = src utils tests data
+SUBDIRS = src utils tests data doc
MAINTAINERCLEANFILES = Makefile.in
diff --git a/configure.ac b/configure.ac
index 1dc4a46..4365644 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,6 +73,7 @@ AC_SEARCH_LIBS([db_create], [db], [], AC_MSG_ERROR([Cannot find Berkeley DB libr
AC_CONFIG_FILES([libpinyin.pc
libpinyin.spec
Makefile
+ doc/Makefile
data/Makefile
src/Makefile
src/include/Makefile
diff --git a/doc/Makefile.am b/doc/Makefile.am
new file mode 100644
index 0000000..42d863f
--- /dev/null
+++ b/doc/Makefile.am
@@ -0,0 +1,24 @@
+## Makefile.am -- Process this file with automake to produce Makefile.in
+## Copyright (C) 2007 Peng Wu
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2, or (at your option)
+## any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+
+man_MANS = libpinyin.1 \
+ gen_binary_files.1 \
+ import_interpolation.1 \
+ gen_unigram.1
+
+EXTRA_DIST = $(man_MANS)