diff --git a/debian/rules b/debian/rules
index 0cd4b57b00c0afb3242994c0ae8c09628d2fb408..4128ddd1d6475f77d902105f0b8e3259f057cc24 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
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
binary-arch: build install
dh_testdir
dh_testroot
- dh_installchangelogs
- dh_installdocs NEWS BUGS TODO manual.pdf
+ dh_installchangelogs NEWS
+ dh_installdocs BUGS manual.pdf
dh_installexamples contrib/tigrc
dh_link
dh_strip