diff --git a/configure.ac b/configure.ac index 31408b0..03209c0 100644 --- a/configure.ac +++ b/configure.ac @@ -78,15 +78,6 @@ AC_ARG_ENABLE([examples], esac],[examples=false]) AM_CONDITIONAL([INSTALL_EXAMPLES], [test x$examples = xtrue]) -AC_ARG_ENABLE([doc], - [AS_HELP_STRING([--enable-doc], [Install additional documentation])], - [case "${enableval}" in - yes) doc=true ;; - no) doc=false ;; - *) AC_MSG_ERROR([bad value ${enableval} for --enable-doc]) ;; - esac],[doc=false]) -AM_CONDITIONAL([INSTALL_DOC], [test x$doc = xtrue]) - AC_CONFIG_FILES([ Makefile doc/Makefile diff --git a/doc/Makefile.am b/doc/Makefile.am index 61de0f8..2eacb86 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,10 +1,4 @@ man1_MANS = $(PACKAGE_NAME).1 -if INSTALL_DOC -pdf_DATA = tint2-0.7.odt tint2-0.7.pdf -else -pdf_DATA = -endif - -EXTRA_DIST = $(man1_MANS) tint2-0.7.odt tint2-0.7.pdf +EXTRA_DIST = $(man1_MANS) DISTCLEANFILES = Makefile.in