File: rules

package info (click to toggle)
liblockfile 1.14-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 372 kB
  • ctags: 77
  • sloc: ansic: 908; makefile: 77; sh: 10
file content (17 lines) | stat: -rwxr-xr-x 400 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --enable-shared --with-mailgroup

override_dh_fixperms:
	dh_fixperms
	@if [ -f debian/liblockfile-bin/usr/bin/dotlockfile ]; then \
		chgrp mail debian/liblockfile-bin/usr/bin/dotlockfile; \
		chmod 2755 debian/liblockfile-bin/usr/bin/dotlockfile; \
	fi