bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dist_noinst_MANS


From: Ralf Wildenhues
Subject: Re: dist_noinst_MANS
Date: Fri, 15 Oct 2010 19:22:03 +0200
User-agent: Mutt/1.5.20 (2010-08-04)

* 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]