File: rules

package info (click to toggle)
globus-gram-job-manager 15.8-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,704 kB
  • sloc: ansic: 31,057; sh: 11,973; perl: 1,503; makefile: 576; yacc: 536; lex: 215
file content (37 lines) | stat: -rwxr-xr-x 784 bytes parent folder | download
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
32
33
34
35
36
37
#!/usr/bin/make -f
# -*- makefile -*-

name = globus-gram-job-manager

export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs

INSTALLDIR = debian/tmp

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

%:
	dh $@

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

override_dh_auto_test:
	GLOBUS_HOSTNAME=localhost dh_auto_test

override_dh_auto_install:
	dh_auto_install

	# Remove libtool archives (.la files)
	rm $(INSTALLDIR)/usr/lib/*/*.la

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

override_dh_fixperms:
	dh_fixperms -X /var/log/globus -X /var/lib/globus/gram_job_state