ref: 06fea5c39b186955194e85ada50724465c39033d
parent: 3ea3b46576867f56e3fc1297ca6ef73da614473b
author: David Seifert <soap@gentoo.org>
date: Sat Jun 10 11:48:00 EDT 2017
Remove htmldocdir variable * Autoconf and Automake provide a variable (htmldir) for this already.
--- a/configure.ac
+++ b/configure.ac
@@ -264,20 +264,10 @@
OS_SPECIFIC_LINKS=""
])
-htmldocdir=$prefix/share/doc/libsamplerate0-dev/html
-
-AS_IF([test "x$prefix" = "xNONE"], [
- htmldocdir=/usr/local/share/doc/libsamplerate0-dev/html
- ], [
- htmldocdir=$prefix/share/doc/libsamplerate0-dev/html
- ])
-
#====================================================================================
# Now use the information from the checking stage.
AC_DEFINE_UNQUOTED([OS_IS_WIN32], [${os_is_win32}], [Set to 1 if compiling for Win32])
-
-AC_SUBST(htmldocdir)
AC_SUBST(SHLIB_VERSION_ARG)
AC_SUBST(SHARED_VERSION_INFO)
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,7 +1,3 @@
-htmldir = $(htmldocdir)
-html_DATA = SRC.png SRC.css index.html license.html history.html download.html \
+dist_html_DATA = SRC.png SRC.css index.html license.html history.html download.html \
lists.html quality.html win32.html faq.html api.html \
api_simple.html api_callback.html api_full.html api_misc.html
-
-EXTRA_DIST = $(html_DATA)
-