File: rules

package info (click to toggle)
globus-gram-audit 5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 388 kB
  • sloc: sh: 511; perl: 470; sql: 103; makefile: 45
file content (31 lines) | stat: -rwxr-xr-x 655 bytes parent folder | download | duplicates (3)
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
# -*- makefile -*-

name = globus-gram-audit

INSTALLDIR = debian/tmp

_docdir = /usr/share/doc/$(name)

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
	   --disable-static \
	   --includedir=/usr/include/globus \
	   --libexecdir=/usr/share/globus \
	   --docdir=$(_docdir)

override_dh_auto_install:
	dh_auto_install --destdir=$(INSTALLDIR)

	# Rename cron script
	mv $(INSTALLDIR)/etc/cron.hourly/globus-gram-audit.cron \
	   $(INSTALLDIR)/etc/cron.hourly/globus-gram-audit

	# Remove installed license file
	rm $(INSTALLDIR)$(_docdir)/GLOBUS_LICENSE

override_dh_fixperms:
	dh_fixperms -X /var/lib/globus/gram-audit