automake
[Top][All Lists]
Advanced

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

Re: how to address a directory as /srv


From: Andrew Suffield
Subject: Re: how to address a directory as /srv
Date: Sat, 15 May 2004 13:20:57 +0100
User-agent: Mutt/1.5.6i

On Sat, May 15, 2004 at 08:49:07AM +0200, Richard Bos wrote:
> Op zaterdag 15 mei 2004 03:31, schreef Andrew Suffield:
> > > Makefile.am
> > > wsadmindir = $(DESTDIR)/srv/www/html/server/admin
> >
> >                ^^^^^^^^^^
> >
> > That's wrong. Take it out. Automake already supports DESTDIR natively;
> > you're just stuffing it in the path twice.
> 
> It improve's the 'make DESTDIR=.... install' command.  This one is now 
> succesfull.  The 'make distcheck' still fails with the 'no permission':
> /bin/sh ../mkinstalldirs /srv/www/html/server/admin/addressbook
> mkdir -p -- /srv/www/html/server/admin/addressbook
> mkdir: cannot create directory `/srv/www/html': Permission denied
> make[3]: *** [install-wsaddressbookDATA] Error 1

Ah, you need a $(prefix) in there, and you really want to add a
--srvdir argument to configure - but I don't think autoconf exposes an
interface for doing that. You probably want to start by getting /srv
explicitly supported by autoconf.

Usual batch of --prefix problems apply.

-- 
  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' :  http://www.debian.org/ |
 `. `'                          |
   `-             -><-          |

Attachment: signature.asc
Description: Digital signature


reply via email to

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