File: rules

package info (click to toggle)
tstools 1.13~git20151030-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,048 kB
  • sloc: ansic: 37,970; java: 2,243; makefile: 466; python: 319; sh: 5
file content (22 lines) | stat: -rwxr-xr-x 682 bytes parent folder | download | duplicates (3)
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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic

DPKG_EXPORT_BUILDTOOLS=1
include /usr/share/dpkg/default.mk
-include /usr/share/dpkg/buildtools.mk

DEB_CFLAGS = $(shell dpkg-buildflags --get CFLAGS)
DEB_LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS)

export DEB_CFLAGS
export DEB_LDFLAGS

%:
	dh $@

execute_after_dh_auto_install:
	# /usr/bin/tsfilter is provided by openraster at this time
	mv $(CURDIR)/debian/tstools/usr/bin/tsfilter $(CURDIR)/debian/tstools/usr/bin/tsfilter.tstools
	mv $(CURDIR)/debian/tstools/usr/share/man/man1/tsfilter.1 $(CURDIR)/debian/tstools/usr/share/man/man1/tsfilter.tstools.1