File: rules

package info (click to toggle)
testdisk 7.2-0.1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,204 kB
  • sloc: ansic: 83,958; sh: 4,713; cpp: 1,643; makefile: 613
file content (26 lines) | stat: -rwxr-xr-x 714 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 --destdir=debian/tmp
	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 --dbgsym-migration='testdisk-dbg (<< 7.1-5+nmu1~)'