File: rules

package info (click to toggle)
libubootenv 0.3.5-0.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 348 kB
  • sloc: ansic: 2,024; sh: 22; makefile: 9
file content (17 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
17
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# disable libubootenv debug prints, as these break fw_printenv output.
export DEB_CFLAGS_MAINT_APPEND=-DNDEBUG

CMAKE_FLAGS = \
	-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
	-DCMAKE_INSTALL_INCLUDEDIR="include/$(DEB_HOST_MULTIARCH)"

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure \
		-- $(CMAKE_FLAGS)