CCID icon indicating copy to clipboard operation
CCID copied to clipboard

Do not build contrib and examples by default but require

Open martinpaljak opened this issue 9 years ago • 3 comments

Those are probably not needed for most users and pollute the compilation with many warnings.

Require --enable-extras for those files.

martinpaljak avatar May 06 '15 05:05 martinpaljak

Good idea. Your implementation does not work for me. In the generated Makefile.in the definition of EXTRA_SUBDIRS is made after it is used in SUBDIRS. So the extras are never build. Does it work for you? Is it a bug in autotools?

LudovicRousseau avatar May 06 '15 19:05 LudovicRousseau

Possible bug in the patch, I only checked that I extras would not be built by default. And I have no idea how the internals of autotools is working or supposed to work. I followed this: https://www.gnu.org/software/automake/manual/html_node/Subdirectories-with-AM_005fCONDITIONAL.html#Subdirectories-with-AM_005fCONDITIONAL

martinpaljak avatar May 06 '15 19:05 martinpaljak

I could not get a working patch. Also "make dist" does not work as described in the documentation you mention. Something is missing/broken.

LudovicRousseau avatar May 08 '15 11:05 LudovicRousseau