From 05aae45c78b3f545dd8c0fcdc53fedc5446d93f6 Mon Sep 17 00:00:00 2001 From: Alexey Slynko Date: Fri, 1 Sep 2017 15:35:19 +0300 Subject: [PATCH] add Makefile --- trunk/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 trunk/Makefile diff --git a/trunk/Makefile b/trunk/Makefile new file mode 100644 index 0000000..9611e3a --- /dev/null +++ b/trunk/Makefile @@ -0,0 +1,10 @@ +EXTENSION = mbus +PGFILEDESC = "mbus - Lightweight PostgreSQL extension for asynchronous messaging" + +PG_CONFIG = pg_config +EXTVERSION = $(shell grep default_version $(EXTENSION).control | \ + sed -e "s/default_version[[:space:]]*=[[:space:]]*'\([^']*\)'/\1/") +DATA = $(wildcard *--*.sql) + +PGXS := $(shell $(PG_CONFIG) --pgxs) +include $(PGXS)