summaryrefslogtreecommitdiff
path: root/debian/rules
blob: d113856e2e70108e0bcb107f5793b74dae424090 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

CURVER = $(shell dpkg-parsechangelog | grep ^Version | cut -d" " -f2 | cut -d"-" -f1 )

override_dh_install:
	-rm -rf $(CURDIR)/debian/sysinfo/usr/lib/pkgconfig
	dh_install

%:
	dh $@ --with autoreconf,cli

get-orig-source:
	[ -d ../tarballs ] || mkdir ../tarballs
	uscan \
		--force-download \
		--download-version $(CURVER) \
		--rename \
		--destdir ../tarballs

.PHONY: get-orig-source