automake
[Top][All Lists]
Advanced

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

Re: installing a whole directory


From: Lorenzo Bettini
Subject: Re: installing a whole directory
Date: Fri, 17 Apr 2009 11:28:13 +0200
User-agent: Thunderbird 2.0.0.21 (X11/20090409)

Ralf Wildenhues wrote:
* 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.


yes, I was already planning to do that.

thanks again, and I hope I can provide positive feedback :-)

cheers
        Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134     (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net





reply via email to

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