* Akim Demaille wrote on Fri, Oct 15, 2010 at 03:41:26PM CEST: > Le 13 oct. 10 à 20:12, Ralf Wildenhues a écrit : > >What would an uninstalled man page be useful for? > > Actually it's for symmetry with the corresponding programs that might, or > might not, be installed. It's for an autoconfiscated libjpeg6b. The core > of the package is the library, but the executables might be installed. So I > have: > > if PROGRAMS > bin_PROGRAMS = $(jpeg_programs) > dist_man1_MANS = $(man_mans) > else > EXTRA_PROGRAMS = $(jpeg_programs) > # dist_noinst_MANS does not work with Automake 1.11.1 (and before). > EXTRA_DIST += $(man_mans) > endif
But that can be simplified to if PROGRAMS bin_PROGRAMS = $(jpeg_programs) dist_man1_MANS = $(man_mans) endif without losing functionality (as long as $(jpeg_programs) expands to a literal list of programs, no @substs@). The Makefile.in files are even identical, apart from the two lines you changed. What am I missing? Cheers, Ralf