Re: i18n Makefile for 1.3.0 does not handle DESTDIR correctly - Mailing list pgadmin-hackers

From Dave Page
Subject Re: i18n Makefile for 1.3.0 does not handle DESTDIR correctly
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E490DE06@ratbert.vale-housing.co.uk
Whole thread Raw
In response to i18n Makefile for 1.3.0 does not handle DESTDIR correctly  (Raphaël Enrici <blacknoz@club-internet.fr>)
List pgadmin-hackers
Hi Raphaël

Florian has submitted a bigger patch that looks like it should sort this as well so I'll apply that one.

Thanks anyway :-)

Regards, Dave.

> -----Original Message-----
> From: Raphaël Enrici [mailto:blacknoz@club-internet.fr]
> Sent: 12 May 2005 23:09
> To: Dave Page; PgAdmin Hackers
> Subject: i18n Makefile for 1.3.0 does not handle DESTDIR correctly
>
> Hi Dave,
>
> the Makefile in i18n pgadmin3 directory does not handle
> properly DESTDIR
>  and tries to install files directly in the prefix.
>
> Example of failed session:
> ...
> /usr/bin/make install
> DESTDIR=/home/pga3/1.3.0/pgadmin3-1.3.0/debian/tmp
> make[1]: Entering directory `/home/pga3/1.3.0/pgadmin3-1.3.0'
> Making install in i18n
> make[2]: Entering directory `/home/pga3/1.3.0/pgadmin3-1.3.0/i18n'
> make[3]: Entering directory `/home/pga3/1.3.0/pgadmin3-1.3.0/i18n'
> make[3]: Nothing to be done for `install-exec-am'.
> /home/pga3/1.3.0/pgadmin3-1.3.0/config/install-sh -d
> /usr/share/pgadmin3/i18n
> mkdir: cannot create directory `/usr/share/pgadmin3':
> Permission denied
> make[3]: *** [install-data-local] Error 1
> make[3]: Leaving directory `/home/pga3/1.3.0/pgadmin3-1.3.0/i18n'
> make[2]: *** [install-am] Error 2
> make[2]: Leaving directory `/home/pga3/1.3.0/pgadmin3-1.3.0/i18n'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/pga3/1.3.0/pgadmin3-1.3.0'
> make: *** [install] Error 2
>
> Would this be possible to correct this please ? The patch attached
> should do the trick although not well tested.
>
> Regards,
> Raphaël
>
>

pgadmin-hackers by date:

Previous
From: "Florian G. Pflug"
Date:
Subject: [PATCH] Appbundle-Support for 1.2
Next
From: "Dave Page"
Date:
Subject: Re: Pg 1.3 snapshot 5-12 on open error