File: rules

package info (click to toggle)
libocxl 1.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 636 kB
  • sloc: ansic: 4,391; makefile: 115; sh: 109; perl: 40
file content (23 lines) | stat: -rwxr-xr-x 632 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 DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all reproducible=-fixfilepath,-fixdebugpath

%:
	dh $@

override_dh_auto_build-arch:
	dh_auto_build -- V=1

override_dh_auto_build-indep:
	dh_auto_build -- docs

override_dh_auto_test:
	# High possibility of locking the machine at the moment

override_dh_auto_install-arch:
	dh_auto_install -- PREFIX=/usr libdir=/usr/lib/$(DEB_HOST_MULTIARCH)
	rm -fr $(CURDIR)/debian/tmp/usr/share/doc/libocxl

override_dh_auto_install-indep:
	mkdir -p $(CURDIR)/debian/tmp/usr/share/doc/libocxl && \
	cp -a docs/html $(CURDIR)/debian/tmp/usr/share/doc/libocxl/