File: rules

package info (click to toggle)
frugen 2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 624 kB
  • sloc: ansic: 3,432; makefile: 13; sh: 6
file content (23 lines) | stat: -rwxr-xr-x 700 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

include /usr/share/dpkg/buildflags.mk
include /usr/share/dpkg/pkg-info.mk

TARGET_LIBDIR = /usr/lib/$(DEB_HOST_MULTIARCH)

%:
	dh $@ --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -- -DBUILD_SHARED_LIB=ON -DCMAKE_INSTALL_LIBDIR=$(TARGET_LIBDIR) -DBUILD_VERSION=$(DEB_VERSION_UPSTREAM)

override_dh_auto_build:
	dh_auto_build -- all docs

execute_after_dh_auto_install:
	LD_LIBRARY_PATH=debian/tmp$(TARGET_LIBDIR) help2man --version-string=$(DEB_VERSION_UPSTREAM) --name="Universal, full-featured IPMI FRU Information generator" -N -o frugen.1 debian/tmp/usr/bin/frugen

override_dh_auto_test:
	# No test suite