Thread: pgAdmin build

pgAdmin build

From
Vladimir Koković
Date:
Hi,

Although I previously reported that pgAdmin build can not work outside the source tree, it is obvious that there are
someproblems  
in communication (probably my english) because build still not working.
This time I send diff files for branding and i18n Makefile.am.

Best regards,
Vladimir Kokovic, DP senior, Belgrade, Serbia







--- /media/sda5/tmp/pgadmin3-svn/pgadmin3/branding/Makefile.am    2009-04-26 20:12:48.000000000 +0200
+++ /media/sda5/tmp/pgadmin3-svn/release/branding/Makefile.am    2009-11-22 06:26:19.000000000 +0100
@@ -20,4 +20,4 @@

 install-data-local:
     $(mkinstalldirs) $(DESTDIR)$(brandingdir)
-    $(install_sh) -c -m 644 branding.ini $(DESTDIR)$(brandingdir)
+    $(install_sh) -c -m 644 $(EXTRA_DIST) $(DESTDIR)$(brandingdir)
--- /media/sda5/tmp/pgadmin3-svn/pgadmin3/i18n/Makefile.am    2009-07-06 18:18:02.000000000 +0200
+++ /media/sda5/tmp/pgadmin3-svn/release/i18n/Makefile.am    2009-11-22 07:03:40.000000000 +0100
@@ -36,13 +36,13 @@
     @pub_tx='$(PUB_TX)'; \
     for DIR in $$pub_tx; do \
         $(mkinstalldirs) $(DESTDIR)$(i18ndir)/$$DIR; \
-        for FILE in `ls $$DIR/*.mo`; do \
+        for FILE in `ls $(srcdir)/$$DIR/*.mo`; do \
             $(install_sh) -c -m 644 $$FILE $(DESTDIR)$(i18ndir)/$$DIR/; \
         done \
     done
-    $(install_sh) -c -m 644 pgadmin3.lng $(DESTDIR)$(i18ndir)/$$DIR
-    $(install_sh) -c -m 644 pg_settings.csv $(DESTDIR)$(i18ndir)/$$DIR
-    $(install_sh) -c -m 644 wxstd.mo $(DESTDIR)$(i18ndir)/$$DIR
+    $(install_sh) -c -m 644 $(srcdir)/pgadmin3.lng $(DESTDIR)$(i18ndir)/$$DIR
+    $(install_sh) -c -m 644 $(srcdir)/pg_settings.csv $(DESTDIR)$(i18ndir)/$$DIR
+    $(install_sh) -c -m 644 $(srcdir)/wxstd.mo $(DESTDIR)$(i18ndir)/$$DIR

 # Remove the wildcard directory that automake will have added for us
 dist-hook:

Attachment

Re: pgAdmin build

From
Dave Page
Date:
2009/12/5 Vladimir Koković <vladimir.kokovic@a-asoft.com>:
> Hi,
>
> Although I previously reported that pgAdmin build can not work outside the
> source tree, it is obvious that there are some problems in communication
> (probably my english) because build still not working.
> This time I send diff files for branding and i18n Makefile.am.

Thanks - committed. You should post patches to -hackers though, not
-support, which I don't always follow so closely as there are many
other helpful people on that list.


--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com