File: rules

package info (click to toggle)
libvalhalla 1.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,148 kB
  • ctags: 1,442
  • sloc: ansic: 9,826; sh: 1,153; php: 492; makefile: 278
file content (24 lines) | stat: -rwxr-xr-x 496 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
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

CONFIGURE_OPTS = --prefix=/usr --enable-pic --disable-strip --enable-doc

ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
        CONFIGURE_OPTS += --disable-optimize
else
        CONFIGURE_OPTS += 
endif

%:
	dh $@

override_dh_auto_configure:
	./configure $(CONFIGURE_OPTS)

override_dh_strip:
	dh_strip --dbg-package=libvalhalla1-dbg

.PHONY: override_dh_auto_configure override_dh_strip