File: rules

package info (click to toggle)
wmanager 0.2.2-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 204 kB
  • sloc: cpp: 520; perl: 124; makefile: 99; sh: 83
file content (34 lines) | stat: -rwxr-xr-x 779 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/make -f

# Aim for the top, adapt if anything should break on the buildds.
DEB_BUILD_MAINT_OPTIONS=	hardening=+all
export DEB_BUILD_MAINT_OPTIONS

CXX=		g++
# Use this for QA tests with newer versions of GCC
#CXX=		g++-snapshot

CXXFLAGS_WARN=	-Wall -W -pipe
ifneq (,$(filter werror,$(DEB_BUILD_OPTIONS)))
	CXXFLAGS_WARN+=	-Werror
endif

DEB_LDFLAGS_MAINT_APPEND=	-g -lfltk
STRIP=

export CXX CXXFLAGS_WARN DEB_LDFLAGS_MAINT_APPEND STRIP

override_dh_auto_test:

override_dh_auto_install:
	dh_auto_install -- \
		INSTALL_PROGRAM='install -m 755' \
		INSTALL_SCRIPT='install -m 755' \
		INSTALL_DATA='install -m 644'

override_dh_installchangelogs:
	dh_installchangelogs -X HISTORY -X NEWS
	install -m 644 HISTORY debian/wmanager/usr/share/doc/wmanager/NEWS

%:
	dh $@