File: rules

package info (click to toggle)
duma 2.5.21-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,460 kB
  • sloc: ansic: 5,512; cpp: 2,205; makefile: 441; javascript: 191; sh: 129
file content (17 lines) | stat: -rwxr-xr-x 330 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_HOST_ARCH

%:
	dh $@

# Wrong variable used for C++
override_dh_auto_build:
	  sed -i "s|CPPFLAGS|CXXFLAGS|"   GNUmakefile
	  dh_auto_build

override_dh_auto_clean:
	  sed -i "s|CXXFLAGS|CPPFLAGS|"   GNUmakefile
	  dh_auto_clean