File: rules

package info (click to toggle)
gadap 2.0-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 716 kB
  • sloc: cpp: 2,135; sh: 950; makefile: 22
file content (16 lines) | stat: -rwxr-xr-x 375 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

# export DH_VERBOSE=1

DESTDIR:=`pwd`/debian/tmp/
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
LIBDIR:=/usr/lib/$(DEB_HOST_MULTIARCH)

# The magic debhelper  rule
%:
	dh $@ --with autoreconf

override_dh_auto_install:
	dh_auto_install
	rm debian/libgadap-dev/usr/bin/test
	dh_install -p libgadap-dev gadap.pc $(LIBDIR)/pkgconfig