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
|