| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
%: |
| 4 |
dh $@ --with pgxs |
| 5 |
|
| 6 |
override_dh_installdocs: |
| 7 |
dh_installdocs --all README.* |
| 8 |
|
| 9 |
# if the package does not support building from subdirectories, use |
| 10 |
# `--with pgxs_loop` above. |
| 11 |
# |
| 12 |
# change the way tests are run: |
| 13 |
# override_dh_pgxs_test: |
| 14 |
# +pg_buildext installcheck . . postgresql-%v-@EXTNAME@ |
| 15 |
|
| 16 |
# classic `pg_buildext` interface: |
| 17 |
|
| 18 |
#include /usr/share/postgresql-common/pgxs_debian_control.mk |
| 19 |
# |
| 20 |
#override_dh_auto_build: |
| 21 |
# +pg_buildext build build-%v |
| 22 |
# |
| 23 |
#override_dh_auto_test: |
| 24 |
# # nothing to do here, see debian/tests/* instead |
| 25 |
# |
| 26 |
#override_dh_auto_install: |
| 27 |
# +pg_buildext install build-%v postgresql-%v-@EXTNAME@ |
| 28 |
# |
| 29 |
#override_dh_installdocs: |
| 30 |
# dh_installdocs --all README.* |
| 31 |
# |
| 32 |
#override_dh_auto_clean: |
| 33 |
# +pg_buildext clean build-%v |
| 34 |
# |
| 35 |
#%: |
| 36 |
# dh $@ |