Skip site navigation (1) Skip section navigation (2)

Re: Debian packaging

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Tomasz Rybak" <bogomips(at)post(dot)pl>
Cc: <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Debian packaging
Date: 2005-08-25 20:39:35
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E4AC9C8E@ratbert.vale-housing.co.uk (view raw or flat)
Thread:
Lists: pgadmin-hackers
Thanks - patch applied (with a / between the vars just in case).

/D 

> -----Original Message-----
> From: Tomasz Rybak [mailto:bogomips(at)post(dot)pl] 
> Sent: 25 August 2005 00:36
> To: Dave Page
> Cc: pgadmin-hackers(at)postgresql(dot)org
> Subject: RE: [pgadmin-hackers] Debian packaging
> 
> Dnia 23-08-2005, wto o godzinie 22:25 +0100, Dave Page napisaƂ(a):
> >  
> > > -----Original Message-----
> > > From: pgadmin-hackers-owner(at)postgresql(dot)org 
> > > [mailto:pgadmin-hackers-owner(at)postgresql(dot)org] On Behalf Of 
> > > Tomasz Rybak
> > > Sent: 23 August 2005 15:33
> > > To: pgadmin-hackers(at)postgresql(dot)org
> > > Subject: Re: [pgadmin-hackers] Debian packaging
> > > 
> > > If we're talking about packaging...
> > > I noticed, that Makefile from pgadmin calls Makefile from xtra,
> > > which calls Makefile from pgagent. This Makefile installs 
> > > only /usr/bin/pgagent.
> > 
> > Thanks - fix committed. I'm no make expert though, so if 
> you know a more
> > appropriate way to do it, please let me know!!
> 
> Thanks for fixing.
> 
> I attach patch, without which creating package as not-root
> (with fakeroot) is impossible, as make install tries to install
> pgagent.sql into /usr/share/pgadmin, not into PREFIX/usr/share/pgadmin
> 
> Warning - this patch (fix) is hack; I looked what ./configure created
> for other installed files and added DESTDIR. I'm not sure if 
> it's quite
> right (I don't know autoconf well), but it works for me.
> 
> Index: xtra/pgagent/Makefile.am
> ===================================================================
> --- xtra/pgagent/Makefile.am    (wersja 4415)
> +++ xtra/pgagent/Makefile.am    (kopia robocza)
> @@ -57,4 +57,4 @@
>  endif
> 
>  install-data-local:
> -       $(install_sh) -c -m 644 pgagent.sql $(pkgdatadir)/pgagent.sql
> +       $(install_sh) -c -m 644 pgagent.sql
> $(DESTDIR)$(pkgdatadir)/pgagent.sql
> 
> 
> -- 
> Tomasz Rybak <bogomips(at)post(dot)pl>
> 
> 

pgadmin-hackers by date

Next:From: Tomasz RybakDate: 2005-08-27 19:29:59
Subject: Developers documentation
Previous:From: svnDate: 2005-08-25 20:39:06
Subject: SVN Commit by dpage: r4416 - trunk/pgadmin3/xtra/pgagent

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group