corectrl/debian/rules

17 lines
436 B
Plaintext
Raw Normal View History

2023-02-23 21:01:01 +01:00
#!/usr/bin/make -f
dpkg_late_eval ?= $(or $(value DPKG_CACHE_$(1)),$(eval DPKG_CACHE_$(1) := $(shell $(2)))$(value DPKG_CACHE_$(1)))
DEB_DISTRIBUTION = $(call dpkg_late_eval,DEB_DISTRIBUTION,dpkg-parsechangelog -SDistribution)
ifeq ($(DEB_DISTRIBUTION),bionic)
export CC = gcc-8
export CXX = g++-8
endif
%:
dh $@ --buildsystem=cmake
2024-11-23 02:26:39 +01:00
override_dh_auto_configure:
dh_auto_configure -- -DBUILD_TESTING=OFF
2023-02-23 21:01:01 +01:00
override_dh_auto_test:
2024-11-23 02:26:39 +01:00
true