diff --git a/debian/rules b/debian/rules
index 502ee01ecc4287f46a7c5e844c0dc88d79c34124..59166c008eca230fd93639e5f504f5707258ea20 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
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 -I/usr/include/ncursesw
+CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr \
--mandir=\$${prefix}/share/man \
- --enable-search-screen --enable-artist-screen
+ --enable-wide \
+ --enable-nls \
+ --enable-colors \
+ --enable-lirc \
+ --enable-help-screen \
+ --enable-mouse \
+ --enable-artist-screen \
+ --enable-search-screen \
+ --enable-song-screen \
+ --enable-key-screen \
+ --enable-lyrics-screen \
+ --with-ncursesw
build: build-stamp
dh_testroot
rm -f build-stamp
- -$(MAKE) distclean
+ [ ! -f Makefile ] || $(MAKE) distclean
dh_clean