summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Villemain2013-08-12 14:11:37 +0000
committerCédric Villemain2013-08-12 14:14:54 +0000
commit72483deabee5f330868fbfec5a8d61ba0c51091b (patch)
tree34ce2f06db9181d77357965b6b905bb7bc3edec5
parent29f5e5808778f196b50e82feea3880697e7e4979 (diff)
Fix 'make deb' to work with all Postgresqlextension-only
Because recents PostgreSQL contain a fix for make isntalkl which is not backported yet.
-rw-r--r--.gitignore2
-rwxr-xr-xdebian/rules6
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