CinePaint is deep paint program that branched from GIMP in 1998 and still
has a very similar build system. I'm trying to do a 'make distcheck' in
CinePaint, but it fails due to our ILM openexr plug-in. This plug-in is
optionally built when the openexr library (installed separately) is
detected.

ERROR: files left in build directory after distclean:
./plug-ins/openexr/Makefile
./plug-ins/openexr/.deps/openexr.Po
make[1]: *** [distcleancheck] Error 1
make[1]: Leaving directory
`/data/cvs/cinepaint-project/cinepaint/cinepaint-0.18-2/=build'
make: *** [distcheck] Error 2

The issue seems to be that distcheck doesn't have a configure path to my
/opt install of openexr, decides not to build openexr (which is ok under the
circumstances), but neglects to remove some intermediate files and fails
while doing an implicit distclean.

I've tried adding 'MOSTLYCLEANFILES = Makefile .deps/openexr.Po' in
openexr/Makefile.am to delete the intermediate files explicitly, but that
does nothing. Ditto with DISTCLEANFILES.

How do I tell automake that it this is an optional Makefile that should not
be created if openexr='no'?

Thanks!

Robin
-------------------------------------------------------------------
[EMAIL PROTECTED]   Hollywood, California
www.CinePaint.org   Open source digital motion picture film software



Reply via email to