Re: [HACKERS] Building storage/lwlocknames.h?

2015-09-16 Thread Christoph Berg
Re: Andres Freund 2015-09-16 <20150916201955.gj2...@alap3.anarazel.de>
> On 2015-09-16 22:10:00 +0200, Christoph Berg wrote:
> > Can we have a "submake-lwlocknames" build target like there already is
> > for submake-errcodes? Reading the Makefile I could not see how to
> > manually trigger this individually.
> 
> > stamp/build-py3: stamp/configure-build-py3
> > $(MAKE) -C build-py3/src/backend/ submake-errcodes
> 
> Not perfect, but
> $(MAKE) -C build-py3/src/backend/ storage/lmgr/lwlocknames.h
> ought to work.

That works for actually building the file, but the error was about the
symlink in src/include/storage.

Christoph
-- 
c...@df7cb.de | http://www.df7cb.de/


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] Building storage/lwlocknames.h?

2015-09-16 Thread Andres Freund
On 2015-09-16 22:10:00 +0200, Christoph Berg wrote:
> Can we have a "submake-lwlocknames" build target like there already is
> for submake-errcodes? Reading the Makefile I could not see how to
> manually trigger this individually.

> stamp/build-py3: stamp/configure-build-py3
> $(MAKE) -C build-py3/src/backend/ submake-errcodes

Not perfect, but
$(MAKE) -C build-py3/src/backend/ storage/lmgr/lwlocknames.h
ought to work.

Greetings,

Andres Freund


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers