File: rules

package info (click to toggle)
dcap 2.47.14-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,448 kB
  • sloc: ansic: 14,604; makefile: 312; python: 75; sh: 58
file content (28 lines) | stat: -rwxr-xr-x 569 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f
# -*- makefile -*-

export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow

INSTALLDIR = $(CURDIR)/debian/tmp

%:
	dh $@

override_dh_autoreconf:
	AUTOMAKE="automake -a -f --foreign" dh_autoreconf

override_dh_auto_configure:
	dh_auto_configure -- \
		--with-globus-include=/usr/include/globus \
		--with-globus-lib=/dummy \
		--with-tunneldir='$${libdir}/dcap'

override_dh_auto_install:
	dh_auto_install

	rm $(INSTALLDIR)/usr/lib/*/dcap/*.a
	rm $(INSTALLDIR)/usr/lib/*/dcap/*.la

	rm $(INSTALLDIR)/usr/lib/*/*.la

	rm -rf $(INSTALLDIR)/usr/share/doc