File: rules

package info (click to toggle)
gap-guava 3.12%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 5,772 kB
  • ctags: 1,789
  • sloc: ansic: 20,861; xml: 10,229; makefile: 265; sh: 153
file content (28 lines) | stat: -rwxr-xr-x 765 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
#!/usr/bin/make -f

CGAP=/usr/bin/gap

DEB_BUILD_MULTIARCH  ?= $(shell dpkg-architecture -qDEB_BUILD_MULTIARCH)
DEB_BUILD_GAP_INFO_ARCH ?= $(shell echo 'Print(GAPInfo.Architecture);' | $(CGAP) -A -q -T)

default:
	@uscan --no-conf --dehs --report || true

%:
	dh $@

override_dh_auto_configure:
	./configure /usr/lib/gap

override_dh_link:
	dh_link -p gap-guava \
		/usr/lib/gap/pkg/guava/bin /usr/share/gap/pkg/guava/bin \
		/usr/share/gap/pkg/guava/doc /usr/share/doc/gap-guava/doc
	dh_link -p gap-guava-bin \
		/usr/lib/$(DEB_BUILD_MULTIARCH)/gap/pkg/guava/bin /usr/lib/gap/pkg/guava/bin/$(DEB_BUILD_GAP_INFO_ARCH)

override_dh_installchangelogs:
	dh_installchangelogs --keep CHANGES.guava

get-orig-source:
	uscan --no-conf --download-current-version --verbose