On 10/13/2004 02:27:00 PM, Richard Bos wrote:
If I remember well you need to combine those: htmldir = $(DESTDIR)/$(WEBDIR)/html/$(PACKAGE)
That's one of the things that I tried, but without success. During the make install stage, I see:
make[1]: Entering directory `/home/kodis/webgoo/webgoo-1.0/_build'
make[2]: Entering directory `/home/kodis/webgoo/webgoo-1.0/_build'
test -z "/home/kodis/webgoo/webgoo-1.0/_inst/bin" || mkdir -p -- . "/ home/kodis/webgoo/webgoo-1.0/_inst/bin"
/usr/bin/install -c 'goo' '/home/kodis/webgoo/webgoo-1.0/_inst/bin/goo'
test -z "//var/www/cgi-bin/webgoo" || mkdir -p -- . "//var/www/cgi-bin/ webgoo"
mkdir: cannot create directory `//var/www/cgi-bin/webgoo': Permission denied
So the DESTDIR setting (or whatever determines where stuff gets installed) is set to ~/webgoo/webgoo-1.0/_inst/ when the 'goo' program gets installed in the bin directory, but is not taken into account at the next step when trying to create the cgi-bin directory /var/www/cgi- bin/webgoo.
It sure seems like this should be an easy thing to do, but I haven't been able to figure out how to do it.
-- John Kodis.