File: rules

package info (click to toggle)
telegnome 0.1.1-4
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,088 kB
  • ctags: 217
  • sloc: ansic: 1,553; sh: 1,148; xml: 682; makefile: 64
file content (30 lines) | stat: -rwxr-xr-x 595 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
23
24
25
26
27
28
29
30
#! /usr/bin/make -f

ifeq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS := -O2 -g -Wall
else
CFLAGS := -g -Wall
endif

configure:
	dh build --until dh_auto_configure

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --disable-scrollkeeper

override_dh_auto_build:
	dh_auto_build -- CFLAGS="$(CFLAGS)" LDFLAGS=-Wl,--as-needed

# No useful tests here, except for the XML check in doc/ which requires
# network access.
override_dh_auto_test:
	:

override_dh_install:
	install -m644 debian/telegnome.gnome-config \
		      debian/telegnome/etc/gnome/config/telegnome

.PHONY: configure