Distribute CMake files.
--HG--
branch : HEAD
diff --git a/Makefile.am b/Makefile.am
index 7f79745..96f65b4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,5 +6,7 @@
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libzip.pc
-EXTRA_DIST= libzip.pc.in \
+EXTRA_DIST= CMakeLists.txt \
+ cmake-config.h.in \
+ libzip.pc.in \
libzip-uninstalled.pc.in
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 843e481..7ec890a 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -59,7 +59,8 @@
BUILT_SOURCES=zip_err_str.c
-EXTRA_DIST=make_zip_err_str.sh
+EXTRA_DIST= CMakeLists.txt \
+ make_zip_err_str.sh
zip_err_str.c: zip.h make_zip_err_str.sh
sh $(srcdir)/make_zip_err_str.sh $(srcdir)/zip.h zip_err_str.c
diff --git a/man/Makefile.am b/man/Makefile.am
index 52a483c..f7cbb08 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -3,7 +3,7 @@
man3_MANS=${MAN3:.mdoc=.${MANFMT}}
DISTCLEANFILES=${HTML}
-EXTRA_DIST=${MANDOC} ${MAN}
+EXTRA_DIST=${MANDOC} ${MAN} CMakeLists.txt
MAN1= zipcmp.mdoc zipmerge.mdoc
MAN3= libzip.mdoc \
diff --git a/regress/Makefile.am b/regress/Makefile.am
index 5a9188c..4551cf2 100644
--- a/regress/Makefile.am
+++ b/regress/Makefile.am
@@ -15,6 +15,7 @@
EXTRA_PROGRAMS=deltest ziptest
EXTRA_DIST= \
+ CMakeLists.txt \
runtest \
${TESTCASES} \
testbuffer.zip \
diff --git a/src/Makefile.am b/src/Makefile.am
index c1ac51b..3235bde 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -4,3 +4,5 @@
zipcmp_LDADD=${top_builddir}/lib/libzip.la
zipmerge_CPPFLAGS=-I${top_srcdir}/lib
zipmerge_LDADD=${top_builddir}/lib/libzip.la
+
+EXTRA_DIST= CMakeLists.txt