automake
[Top][All Lists]
Advanced

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

Re: Getting web content past distcheck


From: Richard Bos
Subject: Re: Getting web content past distcheck
Date: Wed, 13 Oct 2004 20:27:00 +0200
User-agent: KMail/1.5.4

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





reply via email to

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