corectrl/debian/rules

15 lines
366 B
Plaintext
Raw Permalink 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
override_dh_auto_test:
true