File: rules

package info (click to toggle)
gwama 2.2.2+dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 548 kB
  • sloc: cpp: 6,448; perl: 239; xml: 38; makefile: 18; sh: 11
file content (16 lines) | stat: -rwxr-xr-x 390 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# Don't override the upstream FLAG -O3
CXXFLAGS=$(shell dpkg-buildflags --get CXXFLAGS 2>/dev/null | sed -e 's/-O2//g')

%:
	dh $@

override_dh_auto_build:
	make CXXFLAGS="$(CXXFLAGS)"

override_dh_installchangelogs:
	# Install upstream log2.txt file as changelog
	dh_installchangelogs debian/upstream.docs/gwama_log.txt