From d940cb1474f358aaa389b2320b2c6911274f578a Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Villemain?= Date: Mon, 12 Aug 2013 16:11:37 +0200 Subject: [PATCH] Fix 'make deb' to work with all Postgresql Because recents PostgreSQL contain a fix for make isntalkl which is not backported yet. --- .gitignore | 2 +- debian/rules | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index fc3e2f2..071054a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ .pc debian/control debian/files -debian/pgfincore-* +build-pgfincore-* debian/postgresql-* results/ *.so diff --git a/debian/rules b/debian/rules index 8730c22..35d793f 100755 --- a/debian/rules +++ b/debian/rules @@ -19,8 +19,8 @@ export DH_OPTIONS EXTNAME = $(shell dpkg-parsechangelog | awk -F '[:-]' '/^Source:/ { print substr($$2, 2) }') PKGVERS = $(shell dpkg-parsechangelog | awk -F '[:-]' '/^Version:/ { print substr($$2, 2) }') -export SRCDIR = $(CURDIR) -TARGET = $(CURDIR)/debian/$(EXTNAME)-%v +SRCDIR = $(CURDIR) +TARGET = build-$(EXTNAME)-%v include /usr/share/postgresql-common/pgxs_debian_control.mk @@ -30,7 +30,7 @@ override_dh_auto_clean: debian/control override_dh_auto_build: # build all supported version - +pg_buildext build $(SRCDIR) $(TARGET) "$(CFLAGS)" + +pg_buildext build $(SRCDIR) $(TARGET) override_dh_auto_install: # then install each of them -- 2.39.5