summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2009-07-20 04:14:18 +0200
committerPeter Simons <simons@cryp.to>2009-07-20 04:14:18 +0200
commitfadf6ad9ebe838540f22703b45cb88a943716f7c (patch)
tree2ebb03d0d0e20381f229823dc59ae176cff20912
parent8774d27eebcc9307bbcb6012bc8af6e369132b2c (diff)
downloadautoconf-archive-fadf6ad9ebe838540f22703b45cb88a943716f7c.tar.gz
build: re-enable installation of HTML documentation
-rw-r--r--Makefile.am3
-rw-r--r--configure.ac8
2 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 40cb6eb..8805360 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -10,6 +10,9 @@ MAINTAINERCLEANFILES = missing install-sh configure Makefile.in aclocal.m4
aclocaldir = $(datadir)/aclocal
dist_aclocal_DATA = $(M4SOURCE)
+htmldir = $(pkgdatadir)/html
+dist_html_DATA = $(HTMLFILE)
+
EXTRA_DIST = build-aux/git-version-gen
dist-hook:
diff --git a/configure.ac b/configure.ac
index 8dd95e0..3d5cb26 100644
--- a/configure.ac
+++ b/configure.ac
@@ -27,6 +27,14 @@ done
AC_SUBST([M4SOURCE])
AC_MSG_RESULT([done])
+AC_MSG_CHECKING([for available documentation])
+HTMLFILE=""
+for n in ${srcdir}/html/*.* ; do
+ HTMLFILE="${HTMLFILE} ${n}"
+done
+AC_SUBST([HTMLFILE])
+AC_MSG_RESULT([done])
+
AC_CONFIG_FILES([Makefile])
AC_OUTPUT