]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - package/debian-mingw/rules
ncurses 6.0 - patch 20171111
[ncurses.git] / package / debian-mingw / rules
old mode 100644 (file)
new mode 100755 (executable)
index 9b910ea..953dafb
@@ -23,6 +23,8 @@ MINGW_TMP = $(CURDIR)/debian/mingw32-ncurses6
 
 CFLAGS = $(CC_NORMAL)
 
+verbose = # -v
+
 CONFIG_OPTIONS = \
        --disable-echo \
        --disable-db-install \
@@ -32,23 +34,17 @@ CONFIG_OPTIONS = \
        --disable-macros \
        --disable-overwrite \
        --disable-termcap \
-       --enable-const \
-       --enable-ext-colors \
-       --enable-ext-mouse \
-       --enable-ext-putwin \
        --enable-interop \
-       --enable-sp-funcs \
+       --enable-pc-files \
        --enable-term-driver \
        --enable-warnings \
        --enable-widec \
        --verbose \
-       --with-chtype=uint32_t \
-       --with-mmask_t=uint32_t \
+       --with-abi-version=6 \
        --with-cxx-shared \
        --with-develop \
        --with-fallbacks=unknown,rxvt \
        --with-shared \
-       --with-tparm-arg=intptr_t \
        --with-trace \
        --with-xterm-kbs=DEL \
        --without-ada \
@@ -79,6 +75,7 @@ configure-stamp:
                --target=$(TARGET) \
                --prefix=$(MINGW_TOP) \
                --with-build-cc=$(BUILD_CC) \
+               --with-pkg-config-libdir=/usr/$(TARGET)/lib/pkgconfig \
                $(CONFIG_OPTIONS)
 
        touch configure-stamp
@@ -106,7 +103,7 @@ install-stamp: build-stamp
        dh_testdir
        dh_testroot
        dh_clean -k
-       dh_installdirs
+       dh_installdirs      $(verbose)
 
        $(MAKE) install.libs DESTDIR=$(MINGW_TMP)
 
@@ -126,16 +123,18 @@ binary-indep: build install
 # Build architecture-dependent files here.
 binary-arch: build install
        dh_testdir
-       dh_testroot
-       dh_installchangelogs NEWS
+       dh_testroot          $(verbose)
+       dh_lintian           $(verbose)
+       dh_installdocs       $(verbose)
+       dh_installchangelogs $(verbose) NEWS
        # dh_strip
-       dh_compress
-       dh_fixperms
-       dh_installdeb
-       dh_shlibdeps
-       dh_gencontrol
-       dh_md5sums
-       dh_builddeb
+       dh_compress          $(verbose)
+       dh_fixperms          $(verbose)
+       dh_installdeb        $(verbose)
+       dh_shlibdeps         $(verbose)
+       dh_gencontrol        $(verbose)
+       dh_md5sums           $(verbose)
+       dh_builddeb          $(verbose)
 
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install install-stamp