automake
[Top][All Lists]
Advanced

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

Re: How to include COPYING and COPYRIGHT in make install


From: Ralf Wildenhues
Subject: Re: How to include COPYING and COPYRIGHT in make install
Date: Wed, 24 Jan 2007 20:00:59 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Hello Kirk,

* Kirk Wolf wrote on Tue, Jan 23, 2007 at 05:02:27PM CET:
> 
> EXTRA_DIST = COPYRIGHT COPYING
> SUBDIRS = src doc
> 
> How do I get COPYING (and COPYRIGHT, etc) into the "make install" target?

You could add a line
  doc_DATA = COPYRIGHT COPYING

or you could replace this and the EXTRA_DIST line above with
  dist_doc_DATA = COPYRIGHT COPYING

Please note that the docdir variable is new in Autoconf-2.60, so if you
happen to use an older Autoconf version together with your Automake,
then you also need something along the lines of
  docdir = ${datadir}/doc

Please also note that the file `COPYING' is special in that automake
will always distribute it if found.  The list of such special files
can be found at the end of the output of
  automake --help

Hope that helps.

Cheers,
Ralf




reply via email to

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