Generate pg_hba.conf and install postgresql.conf
[invirt/packages/invirt-database.git] / debian / rules
index 6bf6850..27e8995 100755 (executable)
@@ -1,4 +1,13 @@
 #!/usr/bin/make -f
 
 #!/usr/bin/make -f
 
-DEB_AUTO_UPDATE_DEBIAN_CONTROL = 1
+
+DEB_DIVERT_EXTENSION = .invert
+DEB_DIVERT_FILES_sipb-xen-database-server += \
+/etc/postgresql/8.1/main/postgresql.conf.invert
+
+
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/config-package.mk
+
+binary-install/sipb-xen-database-common::
+       dh_pysupport -psipb-xen-database-common