File: rules

package info (click to toggle)
klick 0.12.2-4.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 512 kB
  • sloc: cpp: 3,456; makefile: 14
file content (23 lines) | stat: -rwxr-xr-x 501 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f
# -*- makefile -*-

export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
export CPPFLAGS += -std=c++11

SCONS = scons --warn=no-deprecated

%:
	dh $@

override_dh_auto_build:
	$(SCONS) PREFIX=/usr RUBBERBAND=True DEBUG=True

override_dh_auto_clean:
	[ ! $(DEB_MAINTAINER_MODE) -ne 1 ] || $(SCONS) -c
	rm -f .sconsign.dblite scache.conf .sconf_temp

override_dh_auto_install:
	$(SCONS) install DESTDIR=$(CURDIR)/debian/klick

override_dh_installchangelogs:
	dh_installchangelogs NEWS