File: rules

package info (click to toggle)
dcap 2.47.12-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,372 kB
  • sloc: ansic: 14,608; makefile: 313; python: 75; sh: 58
file content (29 lines) | stat: -rwxr-xr-x 621 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
#!/usr/bin/make -f
# -*- makefile -*-

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

override_dh_strip:
	dh_strip --dbgsym-migration='libdcap-dbg (<< 2.47.10-4~), dcap-dbg (<< 2.47.10-4~)'