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
|