diff options
| author | Cédric Villemain | 2013-08-12 14:11:37 +0000 |
|---|---|---|
| committer | Cédric Villemain | 2013-08-12 14:14:54 +0000 |
| commit | 72483deabee5f330868fbfec5a8d61ba0c51091b (patch) | |
| tree | 34ce2f06db9181d77357965b6b905bb7bc3edec5 | |
| parent | 29f5e5808778f196b50e82feea3880697e7e4979 (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-- | .gitignore | 2 | ||||
| -rwxr-xr-x | debian/rules | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -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 |
