automake
[Top][All Lists]
Advanced

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

Re: installing a whole directory


From: Ralf Wildenhues
Subject: Re: installing a whole directory
Date: Thu, 16 Apr 2009 19:59:50 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

* Lorenzo Bettini wrote on Thu, Apr 16, 2009 at 11:30:12AM CEST:
> the problem is that I should list all the files manually, and I'd need  
> to install all the files generated by doxygen...

> Ralf Wildenhues wrote:
>> ## This rule requires Autoconf 2.62 or newer.
>> install-data-local:
>>      @$(NORMAL_INSTALL)
>>         $(MKDIR_P) $(DESTDIR)$(help_dir)
>>      $(INSTALL_DATA) *_help.txt $(DESTDIR)$(help_dir)
>>
>> ## Warning: the following rule assumes that this package is the
>> ## sole owner of files below $(help_dir)!
>> uninstall-local:
>>      @$(NORMAL_UNINSTALL)
>>      rm -f $(DESTDIR)$(help_dir)/*_help.txt
>>
>
> so this should be fine, and there's no need to list files explicitly, is  
> that right?

Yes.  The install rule however does not yet ensure that all *_help.txt
files have been generated at this point.  You need to ensure that in
some other way, e.g., by some
  all-local: run-doxygen

rule or so.

Cheers,
Ralf




reply via email to

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