File: rules

package info (click to toggle)
gnome-do 0.95.3-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 6,492 kB
  • ctags: 3,468
  • sloc: cs: 17,865; sh: 11,388; ansic: 805; makefile: 662; xml: 192
file content (24 lines) | stat: -rwxr-xr-x 562 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f
#export DH_VERBOSE=1

export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1

CFLAGS ?= -O2 -Wall -g
LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed

override_dh_autoreconf:
	dh_autoreconf --as-needed

override_dh_auto_configure:
	dh_auto_configure -- --enable-release MCS=/usr/bin/mono-csc

override_dh_install:
	# The .la file(s) are entirely useless; kill them with fire.
	find debian/gnome-do -name '*.la' -delete
	dh_install

override_dh_auto_test:
	@echo "Tests disabled; requires running dbus and gconf daemons"

%:
	dh $@ --with autoreconf,cli