File: rules

package info (click to toggle)
irsim 9.7.104-1.1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 2,720 kB
  • sloc: ansic: 24,751; sh: 7,499; makefile: 419; csh: 269; tcl: 88
file content (18 lines) | stat: -rwxr-xr-x 567 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export DEB_CFLAGS_MAINT_APPEND = -Wno-error=implicit-int -Wno-error=format -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-function-declaration
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with autoreconf

execute_before_dh_auto_configure:
	cp -v -r scripts/* ./

override_dh_auto_install:
	dh_auto_install
	sed -i -e "s,/usr/bin/wish,$(shell readlink -f /usr/bin/wish)," debian/irsim/usr/bin/irsim