File: rules

package info (click to toggle)
testdisk 7.0-3
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 5,608 kB
  • ctags: 7,616
  • sloc: ansic: 70,679; sh: 4,420; cpp: 1,624; makefile: 420
file content (26 lines) | stat: -rwxr-xr-x 669 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
26
#!/usr/bin/make -f

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

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --enable-sudo --with-sudo-bin=/usr/bin/sudo --with-ncurses-includes=/usr/include/ncursesw --without-ewf

override_dh_auto_install:
	dh_auto_install
	rm -f $(CURDIR)/debian/tmp/usr/share/doc/testdisk/ChangeLog
	rm -f $(CURDIR)/debian/tmp/usr/share/doc/testdisk/COPYING
	rm -f $(CURDIR)/debian/tmp/usr/share/doc/testdisk/INSTALL

override_dh_auto_clean:
	dh_auto_clean
	-rm -f src/*.d

override_dh_strip:
	dh_strip --dbg-package=testdisk-dbg