[Top][All Lists]

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

Re: How can I install files to specific location?

From: Tom Tromey
Subject: Re: How can I install files to specific location?
Date: 24 Apr 2002 17:39:42 -0600

>>>>> "David" == David Kirkby <address@hidden> 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.


reply via email to

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