File: rules

package info (click to toggle)
ignition-plugin 1.2.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 728 kB
  • sloc: cpp: 4,712; ansic: 277; ruby: 128; sh: 38; makefile: 12
file content (18 lines) | stat: -rwxr-xr-x 644 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

override_dh_auto_configure:
	dh_auto_configure -- \
		-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON
	sed -i -e 's:STRIP_FROM_PATH[[:space:]]*=:STRIP_FROM_PATH = ../..:g' obj-$(DEB_BUILD_GNU_TYPE)/api.dox
	sed -i -e 's:STRIP_FROM_PATH[[:space:]]*=:STRIP_FROM_PATH = ../..:g' obj-$(DEB_BUILD_GNU_TYPE)/api_tagfile.dox

override_dh_auto_install:
	dh_auto_install
	mv obj-$(DEB_BUILD_GNU_TYPE)/doxygen/html debian/tmp/html
	# Remove CURDIR from tag files to make reprotest happy
	sed -i -e 's:$(CURDIR)/::g' debian/tmp/usr/share/ignition/ignition-plugin*/ignition-plugin*.tag.xml

%:
	dh $@