diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2011-12-03 09:33:21 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2011-12-03 09:35:13 +0100 |
commit | c9c31ee37c75d02a8f66f68df88b60394d80cae9 (patch) | |
tree | 9cd8efa9a7c3c6ca47151bf86f67c158641954ea | |
parent | a33aaa4ba0452adb2943912dd356ea746d286a6e (diff) |
postgresql: do not make headers we do not need
-rw-r--r-- | postgresql/makefile.mk | 7 |
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 ------------------------------------------------------ |