File: rules

package info (click to toggle)
libxfce4menu 4.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 2,884 kB
  • ctags: 1,379
  • sloc: sh: 10,305; ansic: 8,371; makefile: 226
file content (24 lines) | stat: -rwxr-xr-x 464 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
#!/usr/bin/make -f

DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)

CFLAGS = -Wall -g

ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
	CFLAGS += -O0
else
	CFLAGS += -O2
endif

override_dh_strip:
	dh_strip --dbg-package=libxfce4menu-0.1-dbg

override_dh_install:
	rm debian/tmp/usr/lib/libxfce4menu-0.1.la
	dh_install --fail-missing

override_dh_auto_test:

%:
	dh $@