File: rules

package info (click to toggle)
vblade 25-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 348 kB
  • sloc: ansic: 1,310; sh: 643; makefile: 54
file content (31 lines) | stat: -rwxr-xr-x 797 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
24
25
26
27
28
29
30
31
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_clean:
	-rm \
		debian/vblade-persist-convert.8 \
		contrib/persistence/vblade-persistence.5
	dh_clean

override_dh_auto_build:
	dh_auto_build --no-parallel -- PLATFORM=linux

override_dh_auto_install:
	$(MAKE) install prefix=debian/vblade/usr

override_dh_installchangelogs:
	dh_installchangelogs NEWS

override_dh_installman:
	asciidoctor --attribute reproducible --backend=manpage debian/vblade-persist-convert.txt
	asciidoctor --attribute reproducible --backend=manpage contrib/persistence/vblade-persistence.txt
	dh_installman

# needed as long as vblade-generator is provided by a patch
override_dh_fixperms:
	dh_fixperms
	chmod 0755 debian/vblade/usr/lib/systemd/system-generators/vblade-generator