File: rules

package info (click to toggle)
tarlz 0.16-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,024 kB
  • sloc: cpp: 4,164; sh: 1,223; makefile: 151
file content (19 lines) | stat: -rwxr-xr-x 352 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

ifeq ($(origin CXX),default)
CXX := $(DEB_HOST_GNU_TYPE)-g++
endif

%:
	dh ${@}

override_dh_auto_configure:
	dh_auto_configure -- 'CXX=$(CXX) -g'

override_dh_auto_install:
	dh_auto_install -- DESTDIR=$(CURDIR)/debian/tarlz

	# removing unused files
	rm -f debian/tarlz/usr/share/info/dir*