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

Re: Silly question about man page



Hallo Magnus,

* Magnus Therning <magnus@therning.org> [2004-07-23 18:34]:
> This ought to be a simple question to answer. I've just created a
> package for gcursor (no ITP filed yet). It's a binary executable in
> /usr/bin so it needs a man-page. However, there is none from upstream,
> so I simply left the one generated by dh_make (renamed it to gcursor.1
> though) and hoped that things would happen automagically. lintian
> complains about the missing man-page, so I add a line in Makefile.am:
> 
>  man1_MANS = gcursor.1

you dont have to. just put the gcursor.1 file in debian directory and
add to the rules file
dh_installman debian/gcursor.1 
no editing of the makefile.

> and a line to debian/rules to copy the file (inspired by the line for
> docbook-to-man):
> 
>  build-stamp:  config.status
>         ...
> 	cp debian/gcursor.1 gcursor.1
> 	...
> 
> Still no luck though. could someone give some hints on how to get the
> man-page to be installed?

regards nico
-- 
Nico Golde - 310777820@ICQ
nico@ngolde.de | nion@gmx.net | http://www.ngolde.de
GPG: FF46 E565 5CC1 E2E5 3F69  C739 1D87 E549 7364 7CFF
Is there life after /sbin/halt -p?

Attachment: signature.asc
Description: Digital signature


Reply to: