File: rules

package info (click to toggle)
bliss 0.73-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 704 kB
  • sloc: cpp: 6,538; makefile: 144; sh: 6
file content (35 lines) | stat: -rwxr-xr-x 906 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

export DEB_PKG_VERSION = $(shell dpkg-parsechangelog -S Version)
export UPS_PKG_VERSION = $(firstword $(subst -, ,$(DEB_PKG_VERSION)))

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

%:
	dh $@ --with autoreconf --builddirectory=_build --parallel

override_dh_auto_build-indep:
	$(MAKE) -f debian/adhoc/Makefile doc

override_dh_auto_test-indep:
	true

override_dh_prep-arch:
	$(MAKE) -f debian/adhoc/Makefile manpages

override_dh_auto_install-indep:
	$(MAKE) -C _build install-data-am DESTDIR=$(CURDIR)/debian/tmp

override_dh_installdocs:
	dh_installdocs -pbliss --link-doc=libbliss2
	dh_installdocs -plibbliss-dev --link-doc=libbliss-dev-common
	dh_installdocs --remaining-packages

override_dh_compress-indep:
	dh_compress -X.pdf -Xexamples

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