2 messages in com.mysql.lists.plusplus[PATCH] fix examples subdir processing
FromSent OnAttachments
Andres Salomon03 Oct 2005 11:37.patch
Warren Young04 Oct 2005 04:17 
Subject:[PATCH] fix examples subdir processing
From:Andres Salomon (dili@debian.org)
Date:10/03/2005 11:37:53 AM
List:com.mysql.lists.plusplus
Attachments:

Hi,

When configuring and building mysql++ with --disable-examples, the autoconf script still creates examples/Makefile, but automake's SUBDIRS variable doesn't include examples/; so, it gets skipped anytime anyone runs make. This means that examples/Makefile and examples/.deps/*.Po gets created during './configure --disable-examples', but 'make distclean' doesn't clean up those files.

While this isn't a terrible thing, it would be nice to not have this extra stuff appear in the examples subdir when not building them. The attached patch does this by only running AC_OUTPUT() on examples/Makefile if we're building the examples. Note that AC_OUTPUT doesn't accept variables (feh), so the patch simply makes a separate AC_OUTPUT call if building examples.