File: rules

package info (click to toggle)
dxflib 3.12.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 612 kB
  • ctags: 1,002
  • sloc: cpp: 6,179; makefile: 40
file content (23 lines) | stat: -rwxr-xr-x 532 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
#!/usr/bin/make -f
# -*- makefile -*-

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

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
LIBDIR:=/usr/lib/$(DEB_HOST_MULTIARCH)

%:
	mv configure.in configure.ac
	dh $@ --with autoreconf
	mv configure.ac configure.in

override_dh_auto_test:
	make testing

override_dh_auto_install:
	dh_auto_install
	dh_link -p libdxflib3 $(LIBDIR)/libdxflib.so.3.12.2	 $(LIBDIR)/libdxflib.so.3

get-orig-source:
	uscan --download-current-version --repack --rename