summaryrefslogtreecommitdiffstats
path: root/pgxs_debian_control.mk
diff options
context:
space:
mode:
Diffstat (limited to 'pgxs_debian_control.mk')
-rw-r--r--pgxs_debian_control.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/pgxs_debian_control.mk b/pgxs_debian_control.mk
new file mode 100644
index 0000000..2761e1c
--- /dev/null
+++ b/pgxs_debian_control.mk
@@ -0,0 +1,13 @@
+#
+# produce a debian/control file from a debian/control.in
+#
+# In debian/rules, include /usr/share/postgresql-common/pgxs_debian_control.mk
+#
+# Author: Dimitri Fontaine <dfontaine@hi-media.com>
+#
+debian/control: debian/control.in debian/pgversions
+ pg_buildext checkcontrol
+
+# run check when clean is invoked
+clean: debian/control
+.PHONY: debian/control