diff --git a/debian/rules b/debian/rules
index f13c4e86d209f93ed9fe31de995d3474b97a9625..90ca50d6a79222f09427f0a58414c911d91bab76 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
+CFLAGS = -Wall -g -I/usr/include/ncursesw
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
CFLAGS += -O2
endif
-include /usr/share/dpatch/dpatch.make
-
config.status: configure
dh_testdir
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
build: build-stamp
-build-stamp: config.status $(DPATCH_STAMPFN)
+build-stamp: config.status
dh_testdir
$(MAKE) all doc
touch build-stamp
-clean: unpatch
+clean:
dh_testdir
dh_testroot
rm -f build-stamp