File: rules

package info (click to toggle)
sleuthkit 3.2.3-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 9,624 kB
  • sloc: ansic: 104,268; sh: 9,445; cpp: 7,793; makefile: 256
file content (22 lines) | stat: -rwxr-xr-x 504 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
#!/usr/bin/make -f

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

SHELL := sh -e
LDFLAGS+=-lsqlite3 -lsupc++ -Wl,--as-needed

%:
	dh $@ --with autoreconf

override_dh_auto_install:
	dh_auto_install

	for FILE in icat ils mactime; \
	do \
		mv debian/tmp/usr/bin/$$FILE debian/tmp/usr/bin/$$FILE-sleuthkit; \
		mv debian/tmp/usr/share/man/man1/$$FILE.1 debian/tmp/usr/share/man/man1/$$FILE-sleuthkit.1; \
	done

override_dh_strip:
	dh_strip -a -plibtsk3-3 --dbg-package=libtsk3-3-dbg