diff --git a/debian/rules b/debian/rules
index b26cb650d03597615b626f11b41e0e0ced97eef9..4ac2e57ad7615df94ab60569d774fcfaaae2a477 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
+ --disable-mini \
+ --enable-wide \
+ --enable-multibyte \
+ --enable-locale \
+ --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 \
+ --enable-outputs-screen \
+ --with-ncursesw
build: build-stamp
[ ! -f Makefile ] || $(MAKE) distclean
- dh_clean
+ dh_clean
install: build
dh_testdir
dh_testroot
- dh_clean -k
+ dh_clean -k
dh_installdirs -a
$(MAKE) install DESTDIR=$(CURDIR)/debian/ncmpc