test before commiting: fix bugs in man framework

--HG--
branch : HEAD
diff --git a/configure.ac b/configure.ac
index fa7ff86..6b595ce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,12 +59,13 @@
     *) MANFMT=man;;
 esac
 
-AC_CONFIG_LINKS([zipcmp.1:zipcmp.${MANFMT}
-		 zip_open.3:zip_open.${MANFMT}])
+AC_CONFIG_LINKS([man/zipcmp.1:man/zipcmp.${MANFMT}
+		 man/zip_open.3:man/zip_open.${MANFMT}])
 
 AC_CONFIG_FILES([Makefile
 		 libzip.pc
 		 libzip-uninstalled.pc
+		 man/Makefile
 		 lib/Makefile
 		 regress/Makefile
 		 src/Makefile])
diff --git a/man/Makefile.am b/man/Makefile.am
index 43e1041..b6ab80c 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -1,5 +1,5 @@
 man_MANS=\
-	zipcmp.1
+	zipcmp.1 \
 	zip_open.3
 
 DISTCLEANFILES=${man_MANS}