File: rules

package info (click to toggle)
postgresql-hll 2.7-2.1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 58,668 kB
  • ctags: 544
  • sloc: ansic: 2,325; sql: 1,756; cpp: 220; makefile: 78
file content (25 lines) | stat: -rwxr-xr-x 700 bytes parent folder | download
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
#!/usr/bin/make -f
# -*- makefile -*-

#include /usr/share/postgresql-common/pgxs_debian_control.mk

%:
	dh $@

SRCDIR = $(CURDIR)

#override_dh_auto_configure:
#	+pg_buildext configure $(CURDIR) version-%v "--libdir=/usr/lib/postgresql/%v/lib --datadir=/usr/share/postgresql-%v-hll"
#	+pg_buildext build $(CURDIR) version-%v

override_dh_auto_clean:
	$(MAKE) PG_CONFIG=pg_config clean
#	+pg_buildext clean $(CURDIR) build-%v

override_dh_auto_build:
	$(MAKE) PG_CONFIG=pg_config
#	+pg_buildext build $(CURDIR) version-%v postgresql-%v-hll

override_dh_auto_install:
	$(MAKE) PG_CONFIG=pg_config DESTDIR=$$PWD/debian/postgresql-hll install
#	+pg_buildext install $(CURDIR) build-%v postgresql-%v-hll