This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Getting web content past distcheck
- From: Richard Bos <radoeka at xs4all dot nl>
- To: automake at gnu dot org
- Date: Wed, 13 Oct 2004 20:27:00 +0200
- Subject: Re: Getting web content past distcheck
- References: <20041013181106.GA19852@papa.kodis.org>
- Reply-to: richard dot bos at xs4all dot nl
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