File: rules

package info (click to toggle)
libodb 2.4.0-2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,124 kB
  • sloc: sh: 11,329; cpp: 2,535; makefile: 38
file content (25 lines) | stat: -rwxr-xr-x 633 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
#!/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
	# remove unwanted files
	$(RM) $(DESTDIR)/usr/share/doc/libodb/NEWS
	$(RM) $(DESTDIR)/usr/share/doc/libodb/README
	$(RM) $(DESTDIR)/usr/share/doc/libodb/version

%:
	dh $@

.PHONY: override_dh_install