patch: Add PGXS support to hstore's Makefile (trivial)
Joey Adams <joeyadams3.14159@gmail.com>
From: Joseph Adams <joeyadams3.14159@gmail.com>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2011-01-24T02:20:43Z
Lists: pgsql-hackers
Attachments
- hstore-makefile-pgxs.diff (text/x-patch) patch
I discovered today that hstore's Makefile currently does not support
PGXS; namely, the ability to install it like so:
USE_PGXS=1 make
sudo USE_PGXS=1 make install
Moreover, hstore is the *only* contrib module whose Makefile does not
contain "PGXS".
The attached patch changes hstore's Makefile so it is like the others.
I have tested the above commands on a copy of the hstore directory
located outside of the PostgreSQL source tree, and it appears to work
just fine. I also tested conventional make and make install, and it
still appears to work as well.
Joey Adams