File: rules

package info (click to toggle)
ocfs2-tools 1.8.4-4%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 6,312 kB
  • sloc: ansic: 85,325; sh: 5,702; python: 2,380; makefile: 1,265
file content (19 lines) | stat: -rwxr-xr-x 609 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

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

%:
	dh $@ --with autoreconf,autotools_dev

override_dh_autoreconf:
	autoreconf -f -i -I/usr/share/aclocal

override_dh_auto_configure:
	dh_auto_configure -- --disable-debug --enable-dynamic-ctl --enable-dynamic-fsck

override_dh_installinit:
	cp -f vendor/common/o2cb.init debian/ocfs2-tools.o2cb.init
	cp -f vendor/common/ocfs2.init debian/ocfs2-tools.ocfs2.init
	dh_installinit -pocfs2-tools --name=o2cb --no-restart-on-upgrade
	dh_installinit -pocfs2-tools --name=ocfs2 --no-restart-on-upgrade