[Unbound-users] man page expansion

W.C.A. Wijngaards wouter at nlnetlabs.nl
Tue Jul 31 13:45:08 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Paul,

On 07/23/2012 07:17 PM, Paul Wouters wrote:
> 
> To make the man pages work for functions of libunbound, I had to 
> run the following in my package build script:

Added to makefile, with .3 appended to the files (this is what other
manpages on my system have).  Also uninstalled with make uninstall.
Thanks for the patch! (for 1.4.19)

Best regards,
   Wouter

> for mpage in ub_ctx ub_result ub_ctx_create ub_ctx_delete 
> ub_ctx_set_option ub_ctx_get_option ub_ctx_config ub_ctx_set_fwd 
> ub_ctx_resolvconf ub_ctx_hosts ub_ctx_add_ta ub_ctx_add_ta_file 
> ub_ctx_trustedkeys ub_ctx_debugout ub_ctx_debuglevel ub_ctx_async 
> ub_poll ub_wait ub_fd ub_process ub_resolve ub_resolve_async
> ub_cancel ub_resolve_free ub_strerror ub_ctx_print_local_zones
> ub_ctx_zone_add ub_ctx_zone_remove ub_ctx_data_add
> ub_ctx_data_remove; do echo ".so man3/libunbound.3" >
> %{buildroot}%{_mandir}/man3/$mpage ; done
> 
> This should really be done in the Makefile though, so those man
> pages are available on all platforms.
> 
> this will then allow you to do "man ub_poll" etc.
> 
> Paul _______________________________________________ Unbound-users
> mailing list Unbound-users at unbound.net 
> http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJQF+FkAAoJEJ9vHC1+BF+NTjQQAIu9TvjsCCQb0RLb9aPVuZ8g
azHt4sVh82B9NRKBxBkWCDvHDKt6n1D7kbkvaWUpNbWZTG5hN19CA1P8gaan/SK/
N7U3a+/wWSnt0t8GNG7mhQnKIFyr3kAZgxW55K6Vmw3i+A/dICYDstqpSJ+NhEIO
wSGrAL0ilKDBhJ7M45Mydpa7uSjhsF6eGYyss+eM6vsuZYveSWYcaa8/o8EwgjCc
q6ex8MsbuDgepH2jDMkzOkDU9GWiyvnX1Aqjee7l6VpAhbNlQGmhRWQ05ZdL+VIf
GvmTe/ISk+MB1t9DDEdrvhYDI5qPh8au6po6smwx23M6CPn1lobspvxvScRkIbjn
oI7MZw5I2oVYlpiRfZ4V8AC7vpyvhKfYkJaKVHGZkKR/1XYqgEhrq1Nq3rx8HDSS
I6jpE4zEFJe327OXprlJLaOOCVNmG/RFM0f/UkyFzTw4oKbMxjnFelaSrDmtp02Y
XCDqy5+x/PpGvFUReTe6KuDM3kFyuKOQbpwkRl88HRa2ko3r6UQWrf1P96j0f+aP
9Vf7WyqO0N4/akS3Ndq3O4fkmmpjoYazTK1M/TDP9BGiOXKsznycxxMWWDqq86lI
7pEacybi05qnhRxMCBOiWwOxr7oSTTviCMtTAT9U2sBgMYUoV9RqbnxXqeA6bLk0
M5jk9tonRc67+lD7D0cd
=I66F
-----END PGP SIGNATURE-----



More information about the Unbound-users mailing list