File: rules

package info (click to toggle)
savi 1.5.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,824 kB
  • sloc: ansic: 6,932; tcl: 5,011; makefile: 265; sh: 237
file content (22 lines) | stat: -rwxr-xr-x 528 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

# Enable hardening build flags
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@ --parallel --buildsystem=makefile

override_dh_auto_build:
	dh_auto_build -- ARCH=ubuntu

override_dh_auto_install:

override_dh_install:
	dh_install
	cp debian/savi-bin debian/savi/usr/bin/savi
	cp debian/geomview-savi debian/savi/usr/lib/geomview/.geomview-savi
	find debian/savi/usr/ -name "Makefile*" -exec rm {} \;

override_dh_fixperms:
	dh_fixperms
	find debian/savi/usr/share/savi/oogl/ -type f | xargs chmod -x