This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Getting web content past distcheck


Op woensdag 13 oktober 2004 20:11, schreef John Kodis:
> ? ? htmldir = $(WEBDIR)/html/$(PACKAGE)
> ? ? cgidir ?= $(WEBDIR)/cgi-bin/$(PACKAGE)
>
> to get the web pages and cgi-bin scripts installed in the /var/www
> directory tree. ?This all works fine, except that "make distcheck"
> only works when run as root, since make tries to install these files
> under /var/www rather than under the _inst directory.
>
> I've tried adding $(DESTDIR) and @DESTDIR@ in various places, but
> haven't found the magical invocation that will get distcheck to run
> successfully.

If I remember well you need to combine those:
> ? ? htmldir = $(DESTDIR)/$(WEBDIR)/html/$(PACKAGE)


-- 
Richard Bos
Without a home the journey is endless




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]