File: rules

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

-include /usr/share/dpkg/buildtools.mk
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:
	dh_auto_build -- CXXFLAGS="$(CXXFLAGS)"

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