| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile -*- |
| 3 |
|
| 4 |
# Uncomment this to turn on verbose mode. |
| 5 |
#export DH_VERBOSE=1 |
| 6 |
|
| 7 |
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) |
| 8 |
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) |
| 9 |
|
| 10 |
DPKG_EXPORT_BUILDFLAGS = 1 |
| 11 |
include /usr/share/dpkg/buildflags.mk |
| 12 |
|
| 13 |
CXXFLAGS += -fno-devirtualize |
| 14 |
|
| 15 |
PKGDIR=$(CURDIR)/debian/odb/ |
| 16 |
|
| 17 |
override_dh_auto_clean: |
| 18 |
dh_clean |
| 19 |
rm -f $(CURDIR)/config.log $(CURDIR)/config.lt $(CURDIR)/libtool |
| 20 |
|
| 21 |
override_dh_auto_configure: |
| 22 |
dh_auto_configure -- CC=gcc-14 CXX=g++-14 |
| 23 |
|
| 24 |
override_dh_install: |
| 25 |
dh_install |
| 26 |
# remove extra copyright files |
| 27 |
rm $(PKGDIR)/usr/share/doc/odb/GPLv3 |
| 28 |
rm $(PKGDIR)/usr/share/doc/odb/LICENSE |
| 29 |
|
| 30 |
|
| 31 |
%: |
| 32 |
dh $@ |
| 33 |
|
| 34 |
.PHONY: override_dh_auto_clean override_dh_auto_configure override_dh_install |