/usr/share/postgresql-common/pgxs_debian_control.mk is in postgresql-server-dev-all 129.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #
# produce a debian/control file from a debian/control.in
#
# In debian/rules, include /usr/share/postgresql-common/pgxs_debian_control.mk
# build: debian/control
#
# Author: Dimitri Fontaine <dfontaine@hi-media.com>
#
debian/control: debian/control.in debian/pgversions
(set -e; \
VERSIONS=`pg_buildext supported-versions $(CURDIR)` || exit $$?; \
grep-dctrl -vP PGVERSION $< > $@.pgxs_tmp; \
for v in $$VERSIONS; \
do \
grep -q "^$$v" debian/pgversions \
&& grep-dctrl -P PGVERSION $< \
| sed -e "s:PGVERSION:$$v:" >> $@.pgxs_tmp; \
done; \
mv $@.pgxs_tmp $@) || (rm -f $@.pgxs_tmp; exit 1)
|