Re: shlibdeps warning + #DOCS# problem for procps
Eugene Teo <eugene.teo@eugeneteo.net> schrieb:
> Hi everyone,
>
> I am trying to create a .deb package for a procps branch[1] by Robert
> Love (different from the official procps deb). In the program's
> source directory, it has a shared library, many binaries, and many
> man pages for those binaries.
>
> I read, and followed the instructions given in the new Maintainers'
> Guide but there are some doubts that this guide didn't address.
>
> 1. Is there any way to configure the files in debian/ to install
> this shared library?
I think you have to create a separate library package. Have a look at
http://www.netfort.gr.jp/~dancer/column/libpkg-guide/libpkg-guide.html
(you can find this by looking for "libraries" in the Developer's
Reference, file:///usr/share/doc/developers-reference/index.en.html or
http://www.de.debian.org/doc/developers-reference/).
> 2. What should I do so that I can copy those man pages in the
> program's source directory to the respective directory?
>
> [~/procps/procps-2.0.18] $ \ls *.1 *.5 *.8
> free.1 pkill.1 skill.1 snice.1 sysctl.conf.5 top.1 vmstat.8
> watch.1 pgrep.1 pmap.1 slabtop.1 sysctl.8 tload.1 uptime.1 w.1
You can copy them into $DESTDIR/usr/share/man/man?/ in the install
target of the Makefile, or use dh_installman(1).
> 3. I have a couple of files in debian/ called procps-doc.{docs,files}.
>
> It gives this error message when i try to do dpkg-buildpackage.
>
> cp: cannot stat `#DOCS#': No such file or directory
> dh_installdocs: command returned error code 256
> make[1]: *** [binary-common] Error 1
>
> Any idea what I should put in the procps-doc.{docs,files} files?
Do you generate a package procps-doc?
Regards, Frank
--
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie
Reply to: