File: rules

package info (click to toggle)
gnome-sharp2 2.24.2-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,308 kB
  • ctags: 1,205
  • sloc: sh: 10,129; cs: 5,298; makefile: 440; ansic: 215; xml: 74; perl: 32
file content (20 lines) | stat: -rwxr-xr-x 414 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
# -*- makefile -*-

export DH_VERBOSE=1
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed

API_VERSION = 2.24.0

%:
	dh $@ --with autoreconf,cli

override_dh_autoreconf:
	dh_autoreconf --as-needed

override_dh_auto_configure:
	dh_auto_configure -- CSC=/usr/bin/mono-csc LDFLAGS="$(LDFLAGS)"

override_dh_makeclilibs:
	dh_makeclilibs -m $(API_VERSION)