summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2011-12-03 09:33:21 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2011-12-03 09:35:13 +0100
commitc9c31ee37c75d02a8f66f68df88b60394d80cae9 (patch)
tree9cd8efa9a7c3c6ca47151bf86f67c158641954ea
parenta33aaa4ba0452adb2943912dd356ea746d286a6e (diff)
postgresql: do not make headers we do not need
-rw-r--r--postgresql/makefile.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/postgresql/makefile.mk b/postgresql/makefile.mk
index 457894eea6bd..6d474e15e621 100644
--- a/postgresql/makefile.mk
+++ b/postgresql/makefile.mk
@@ -64,9 +64,10 @@ BUILD_ACTION = \
--bindir=/usr/lib/postgresql/$(MAJOR_VER)/bin \
--libdir=/usr/lib/ \
--includedir=/usr/include/postgresql/ \
- && make -C src/backend ../../src/include/utils/errcodes.h ../../src/include/utils/fmgroids.h \
- && make -C src/include DESTDIR="../../../../../" install \
- && make $(MAKE_SILENT) -j$(GMAKE_MODULE_PARALLELISM) -C src/interfaces/libpq DESTDIR="../../../../../../" install
+ && DESTDIR="$(SRC_ROOT)/$(PRJNAME)/$(INPATH)/" \
+ && export DESTDIR \
+ && make $(MAKE_SILENT) -j$(GMAKE_MODULE_PARALLELISM) -C src/interfaces/libpq install \
+ && ./config/install-sh -c -m 644 src/include/postgres_ext.h "$${{DESTDIR}}/usr/include/postgresql/"
# --- Targets ------------------------------------------------------