File: rules

package info (click to toggle)
ocfs2-tools 1.8.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,272 kB
  • sloc: ansic: 87,146; sh: 5,782; python: 2,380; makefile: 1,302
file content (21 lines) | stat: -rwxr-xr-x 766 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

# build fails when format hardening is on
export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-format

%:
	dh $@

override_dh_auto_install:
	dh_auto_install
	mkdir -p debian/tmp/etc/init.d
	cp -f vendor/common/o2cb.init debian/tmp/etc/init.d/o2cb
	cp -f vendor/common/ocfs2.init debian/tmp/etc/init.d/ocfs2

override_dh_installinit:
	dh_installinit -pocfs2-tools --name=o2cb --only-scripts --no-stop-on-upgrade --no-restart-after-upgrade
	dh_installinit -pocfs2-tools --name=ocfs2 --only-scripts --no-stop-on-upgrade --no-restart-after-upgrade

override_dh_installsystemd:
	dh_installsystemd -pocfs2-tools --name=o2cb --no-enable --no-start --no-stop-on-upgrade
	dh_installsystemd -pocfs2-tools --name=ocfs2 --no-enable --no-start --no-stop-on-upgrade