| 1 |
|
| 2 |
|
| 3 |
p = libisl23 |
| 4 |
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) |
| 5 |
|
| 6 |
%: |
| 7 |
dh $@ --with autoreconf |
| 8 |
|
| 9 |
override_dh_auto_configure: |
| 10 |
PYTHON=python3 \ |
| 11 |
$(shell dpkg-buildflags --export=configure) \ |
| 12 |
dh_auto_configure -v -- \ |
| 13 |
--disable-silent-rules \ |
| 14 |
--without-gcc-arch \ |
| 15 |
--libdir=/usr/lib/$(DEB_HOST_MULTIARCH) |
| 16 |
|
| 17 |
override_dh_install: |
| 18 |
dh_install |
| 19 |
mkdir -p debian/$(p)/usr/share/gdb/auto-load/usr/lib/$(DEB_HOST_MULTIARCH) |
| 20 |
mv debian/$(p)/usr/lib/*/*-gdb.py debian/$(p)/usr/share/gdb/auto-load/usr/lib/$(DEB_HOST_MULTIARCH)/ |
| 21 |
|
| 22 |
override_dh_auto_install: |
| 23 |
dh_auto_install -- |
| 24 |
sed -i -e 's,/.*/,,' debian/tmp/usr/include/isl/stdint.h |
| 25 |
|
| 26 |
override_dh_installdocs: |
| 27 |
dh_installdocs -p$(p) |
| 28 |
dh_installdocs -N$(p) --link-doc=$(p) |
| 29 |
|
| 30 |
override_dh_clean: |
| 31 |
dh_clean |
| 32 |
rm -f isl-uninstalled.sh *.pc *.pc.in gitversion.h include/isl/stdint.h interface/Makefile config.log config.status |