File: rules

package info (click to toggle)
torsocks 2.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,264 kB
  • ctags: 863
  • sloc: sh: 11,815; ansic: 6,310; makefile: 463
file content (25 lines) | stat: -rwxr-xr-x 616 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
20
21
22
23
24
25
#!/usr/bin/make -f

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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

PACKAGE = torsocks
DESTDIR = $(CURDIR)/debian/$(PACKAGE)

%:
	dh $@ --with autoreconf

override_dh_auto_install:
	dh_auto_install
	dh_bash-completion
	rm $(DESTDIR)/usr/share/doc/torsocks/DEBUG
	rm $(DESTDIR)/usr/share/doc/torsocks/socks-extensions.txt
	rm $(DESTDIR)/usr/share/doc/torsocks/SOCKS5
	rm $(DESTDIR)/usr/share/doc/torsocks/ChangeLog
	rm $(DESTDIR)/usr/lib/torsocks/libtorsocks.la

override_dh_makeshlibs: