Re: patch to fix client only builds - Mailing list pgsql-hackers

From Tom Lane
Subject Re: patch to fix client only builds
Date
Msg-id 1728.1225993533@sss.pgh.pa.us
Whole thread Raw
In response to Re: patch to fix client only builds  ("Merlin Moncure" <mmoncure@gmail.com>)
Responses Re: patch to fix client only builds  ("Merlin Moncure" <mmoncure@gmail.com>)
List pgsql-hackers
"Merlin Moncure" <mmoncure@gmail.com> writes:
> IMO, the client only build should be fixed, so we can:
> *) put the makefile hack I proposed in
> *) implement the keywords.c change suggested above
> *) set up backend/parser symlink from different/additional place.

The last of these seems the correct fix.  A minimal change would be
something like
 submake-backend:
+    $(MAKE) -C $(top_builddir)/src/backend $(top_builddir)/src/include/parser/gram.h     $(MAKE) -C
$(top_builddir)/src/backend/parserkeywords.o
 

(in at least three different Makefiles: pg_dump, psql, scripts).  But I
can't help feeling that some Makefile-refactoring seems called for here.
Peter, what do you think?
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Merlin Moncure"
Date:
Subject: Re: patch to fix client only builds
Next
From: Tom Lane
Date:
Subject: Re: My review for the patch "Table command"