This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: How can I install files to specific location?
- From: Tom Tromey <tromey at redhat dot com>
- To: "Dr. David Kirkby" <drkirkby at ntlworld dot com>
- Cc: "autoconf at gnu dot org" <autoconf at gnu dot org>, automake <automake at gnu dot org>
- Date: 24 Apr 2002 17:39:42 -0600
- Subject: Re: How can I install files to specific location?
- References: <3CC692AB.9DAE5BB8@ntlworld.com>
- Reply-to: tromey at redhat dot com
>>>>> "David" == David Kirkby <drkirkby@ntlworld.com> writes:
David> I've an application (atlc) that has documentation in the form
David> of html pages and some jpgs. When the packaged files are
David> extracted prior to compiling, the files in question are in
David> atlc-version/docs/html-docs and
David> atlc-version/docs/html-docs/jpgs.
David> How can get those installed into
David> /usr/local/atlc-version/html-docs and
David> /usr/local/atlc-version/html-docs/jpgs by default, with the
David> /usr/local being changed if someone alters the program-prefix?
It depends on your build setup, but basically:
htmldir = $(prefix)/atlc-version/html-docs
html_DATA = list your .html files here
Ordinarily I would recommend against doing this though.
Adding a new subdirectory directly under $(prefix) is usually not what
you want to do. See the GNU Coding Standards for some suggestions on
where to install things.
Tom