mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 05:56:21 +00:00
DISTPG-348-pg_stat_monitor-Update-directory-structure-for-Debian-packaging-files
This commit is contained in:
committed by
Hamid Akhtar
parent
d05f6d8e3b
commit
e9ee3b8107
28
debian/rules
vendored
Executable file
28
debian/rules
vendored
Executable file
@@ -0,0 +1,28 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
# Using pg_buildext
|
||||
include /usr/share/postgresql-common/pgxs_debian_control.mk
|
||||
|
||||
export USE_PGXS=1
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_build:
|
||||
+pg_buildext clean . build-%v
|
||||
+pg_buildext build . build-%v
|
||||
|
||||
override_dh_auto_test:
|
||||
# nothing to do here
|
||||
|
||||
override_dh_auto_install:
|
||||
+pg_buildext install . build-%v percona-pg-stat-monitor@@PG_REL@@
|
||||
|
||||
override_dh_installdocs:
|
||||
dh_installdocs --all README.*
|
||||
|
||||
override_dh_auto_clean:
|
||||
rm -rf results/* regression.*
|
||||
Reference in New Issue
Block a user