File: rules

package info (click to toggle)
openmrac 1.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,288 kB
  • sloc: cpp: 13,623; ansic: 300; sh: 53; xml: 20; makefile: 9
file content (19 lines) | stat: -rwxr-xr-x 405 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 DH_VERBOSE = 1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# pass cross tools as command variables to make
include /usr/share/dpkg/buildtools.mk
export CC

%:
	dh $@

override_dh_auto_build:
	convert src/openmrac.ico src/openmrac.png
	$(MAKE) prefix=/usr -C src/ -f Makefile.linux

# avoid upstream Makefile install target,
# as it requires root
override_dh_auto_install: