diff --git a/debian/rules b/debian/rules
index 294dcdd4255394a5030f8effd1d16e04683522b8..90ca50d6a79222f09427f0a58414c911d91bab76 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
#!/usr/bin/make -f
# debian/rules for tig
#
-# Written by Sebastian Harl <sh@tokkee.org>
+# Written by Sebastian Harl <tokkee@debian.org>
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
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
dh_testdir
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
--prefix=/usr --mandir=\$${prefix}/share/man --sysconfdir=/etc \
- CFLAGS="$(CFLAGS)" LIBS="-lncursesw"
+ CFLAGS="$(CFLAGS)"
build: build-stamp
rm -rf manual.html-chunked/
rm -f manual.pdf manual.html manual.toc
rm -f tig.1 tig.1.html tigrc.5 tigrc.5.html
+ rm -f NEWS.html README.html
dh_clean
dh_builddeb
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install patch unpatch
+.PHONY: build clean binary-indep binary-arch binary install