From 5316702400738c4e96dd422a138f8146cfb686a4 Mon Sep 17 00:00:00 2001 From: bdean Date: Thu, 10 Feb 2005 15:39:42 +0000 Subject: [PATCH] doc/Makefile is now dependent on whether or not doc is enabled. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@446 81a1dc3b-b13d-400b-aceb-764788c761c2 --- configure.ac | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index c4e17b8d..5ab33870 100644 --- a/configure.ac +++ b/configure.ac @@ -158,12 +158,15 @@ if test "$GCC" = yes; then fi AC_SUBST(ENABLE_WARNINGS,$ENABLE_WARNINGS) +if test "$enabled_doc" = "yes"; then +AC_CONFIG_FILES([doc/Makefile]) +fi + AC_CONFIG_FILES([ - doc/Makefile - windows/Makefile - avrdude.spec - avrdude.conf - Makefile + windows/Makefile + avrdude.spec + avrdude.conf + Makefile ]) AC_OUTPUT