File: rules

package info (click to toggle)
libodb 2.4.0-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 2,864 kB
  • ctags: 2,597
  • sloc: sh: 11,329; cpp: 2,528; makefile: 35
file content (21 lines) | stat: -rwxr-xr-x 476 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
#!/usr/bin/make -f
# -*- makefile -*-

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

DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)

DESTDIR=$(CURDIR)/debian/tmp/

override_dh_install:
	dh_install
	# remove extra copyright files
	rm $(DESTDIR)/usr/share/doc/libodb/GPLv2
	rm $(DESTDIR)/usr/share/doc/libodb/LICENSE

%:
	dh $@ --parallel

.PHONY: override_dh_install