automake
[Top][All Lists]
Advanced

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

Re: make install-dirPRIMARY


From: fr33domlover
Subject: Re: make install-dirPRIMARY
Date: Sun, 17 Aug 2014 20:07:46 +0300

On 2014-08-12
fr33domlover <address@hidden> wrote:

> Hello,
> 
> 
> I'm writing a Makefile.am with a custom piece for building, distributing and
> installing Doxygen-generated documentation. All the generated files are used
> as values for the special-scheme variables, e.g. 'dist_reference_DATA =
> index.html'.
> 
> Installation targets are automatically generated, but aren't very pretty. For
> example, 'dist_reference_DATA' generates target 'install-referenceDATA'. This
> is relatively readable, but when the destination directory part gets longer,
> e.g. reference_full_html, it becomes somewhat less pretty, certainly less than
> the elegant 'install-info', 'install-html' and so on.
> 
> So I had an idea - define my own pretty targets like `install-ref`,
> `install-ref-html` etc., and make then directly depend on those less pretty
> targets Automake generates.
> 
> The question is, is the naming scheme of those generated targets more or less
> consistent? Is it safe to rely on it to not change often? If not, what other
> options do I have? I wouldn't want to write manual install targets copied from
> Makefile, since that would be dangerous duplication.
> 
> 
> 
> -- fr33


Anyone has some advice? My code uses those targets at the moment, but I'm not
sure it's good for long term.

Attachment: signature.asc
Description: PGP signature


reply via email to

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