[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Releasing ncurses

On 2010-03-12 00:07 +0100, Craig Small wrote:

> On Thu, Mar 11, 2010 at 03:37:51PM -0500, Thomas Dickey wrote:
>> On Mon, 8 Mar 2010, Sven Joachim wrote:
>> >Thanks for providing the manpage(s) now, but there is a little problem.
>> >At least in out-of-tree builds (like in the Debian package),
>> >ncurses*-config.1 does not get installed when running "make install"
>> >because (like terminfo.5) it is in the build tree and not in $(scrdir),
>> >but man/Makefile.in does not take this into account.
>> thanks (will fix...)
> Once that change is put into the Debian source, would that be a good
> point to release the Debian package?

I've merged the latest upstream patch locally and it seems to be fine.
Note that ncursesw5-config.1 does not get automatically installed
because we use "make install.libs" rather than "make install", but it is
trivial to install the manpage with dh_installman instead:

--8<---------------cut here---------------start------------->8---
diff --git a/debian/ncurses-bin.manpages b/debian/ncurses-bin.manpages
new file mode 100644
index 0000000..aaff8d3
--- /dev/null
+++ b/debian/ncurses-bin.manpages
@@ -0,0 +1 @@
diff --git a/debian/rules b/debian/rules
index 4c4261c..765e3ad 100755
--- a/debian/rules
+++ b/debian/rules
@@ -371,6 +371,7 @@ binary:     binary-arch binary-indep
 binary-arch: build install
+       dh_installman -s
        dh_installdocs -s debian/FAQ
        dh_installchangelogs -s NEWS
        dh_installexamples -s
--8<---------------cut here---------------end--------------->8---

If you don't have any objections, I would like to push this into master.


Reply to: