File: rules

package info (click to toggle)
mathicgb 1.0~git20170606-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,812 kB
  • sloc: cpp: 22,178; sh: 217; makefile: 106
file content (19 lines) | stat: -rwxr-xr-x 454 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

EXAMPLESDIR = $(CURDIR)/debian/mathicgb/usr/share/doc/mathicgb/examples

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- GTEST_PATH=/usr/src/gtest --enable-shared

override_dh_fixperms:
	dh_fixperms
	#dh_fixperms skips files in examples directory
	chmod 644 $(EXAMPLESDIR)/*.ideal

override_dh_strip:
	dh_strip --dbgsym-migration='libmathicgb-dbg (<< 1.0~git20150904-2~)'