blob: a05cd16cef86cf17187d216dc1ed57ae3c6df9ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
EXTENSION = pgfincore
EXTVERSION = 1.3.1
MODULES = $(EXTENSION)
MODULEDIR = $(EXTENSION)
DOCS = README.md
DATA = $(EXTENSION)--1.2--1.3.1.sql \
$(EXTENSION)--$(EXTVERSION).sql
REGRESS = $(EXTENSION)
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
dist:
git archive --prefix=$(EXTENSION)-$(EXTVERSION)/ -o ../$(EXTENSION)_$(EXTVERSION).orig.tar.gz HEAD
deb:
make clean
pg_buildext updatecontrol
make -f debian/rules debian/control
dh clean
make dist
dpkg-buildpackage -us -uc
|