| 1 | ||
|
Editor: 10.1.0.1
Time: 2004/03/26 10:25:31 GMT+0 |
||
| Note: | ||
changed: - This solves the problem of distcheck failing due to openexr being a conditional subdir build. 1. Add AM_CONDITIONAL to configure.in after AM_PATH_OPENEXR. AM_PATH_OPENEXR(have_openexr=yes OPENEXR='openexr', have_openexr=no OPENEXR= ) AM_CONDITIONAL(HAVE_OPENEXR, test x$have_openexr = xyes) 2. Do *NOT* make openexr conditional in plug-ins/Makefile.am. Do not use DIST_SUBDIRS or DISTCLEANFILES. SUBDIRS = \ blur \ openexr \ unsharp ## SUBDIRS = \ ## blur \ ## @OPENEXR@ \ ## unsharp ## DIST_SUBDIRS = $(SUBDIRS) ## DISTCLEANFILES = openexr/Makefile openexr/.deps/openexr.Po 3. Wrap plug-ins/openexr/Makefile.am with conditional: if HAVE_OPENEXR pluginlibdir = $(programplugindir)/plug-ins pluginlib_PROGRAMS = openexr openexr_SOURCES = openexr.cxx endif --- output --- ================================================= cinepaint-0.18-2.tar.gz is ready for distribution =================================================
This solves the problem of distcheck failing due to openexr being a conditional subdir build.
AM_PATH_OPENEXR(have_openexr=yes OPENEXR=openexr, have_openexr=no OPENEXR= )
AM_CONDITIONAL(HAVE_OPENEXR, test x$have_openexr = xyes)
SUBDIRS = \ blur \ openexr \ unsharp
## SUBDIRS = \ ## blur \ ## @OPENEXR@ \ ## unsharp
## DIST_SUBDIRS = $(SUBDIRS)
## DISTCLEANFILES = openexr/Makefile openexr/.deps/openexr.Po
if HAVE_OPENEXR
pluginlibdir = $(programplugindir)/plug-ins
pluginlib_PROGRAMS = openexr
openexr_SOURCES = openexr.cxx
endif
--- output ---
=================================================
cinepaint-0.18-2.tar.gz is ready for distribution =================================================