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