]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- added manpage links for libunbound calls (Thanks Paul Wouters).
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 31 Jul 2012 13:43:08 +0000 (13:43 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 31 Jul 2012 13:43:08 +0000 (13:43 +0000)
git-svn-id: file:///svn/unbound/trunk@2732 be551aaa-1e26-0410-a405-d3ace91eadb9

Makefile.in
doc/Changelog

index c520dacb953b352e35a6b2499c33def21727d628..fb5f77de08eaeebfa45f35412e0f6af58d48c9a2 100644 (file)
@@ -468,6 +468,16 @@ install:   all $(PYTHONMOD_INSTALL) $(PYUNBOUND_INSTALL)
        $(INSTALL) -c -m 644 doc/unbound.conf.5 $(DESTDIR)$(mandir)/man5
        $(INSTALL) -c -m 644 $(srcdir)/doc/unbound-host.1 $(DESTDIR)$(mandir)/man1
        $(INSTALL) -c -m 644 doc/libunbound.3 $(DESTDIR)$(mandir)/man3
+       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" > $(DESTDIR)$(mandir)/man3/$$mpage.3 ; \
+       done
        $(INSTALL) -c -m 755 unbound-control-setup $(DESTDIR)$(sbindir)/unbound-control-setup
        if test ! -e $(DESTDIR)$(configfile); then $(INSTALL) -d `dirname $(DESTDIR)$(configfile)`; $(INSTALL) -c -m 644 doc/example.conf $(DESTDIR)$(configfile); fi
        $(LIBTOOL) --mode=install cp $(srcdir)/libunbound/unbound.h $(DESTDIR)$(includedir)/unbound.h
@@ -485,6 +495,16 @@ uninstall: $(PYTHONMOD_UNINSTALL) $(PYUNBOUND_UNINSTALL)
        rm -f -- $(DESTDIR)$(sbindir)/unbound$(EXEEXT) $(DESTDIR)$(sbindir)/unbound-checkconf$(EXEEXT) $(DESTDIR)$(sbindir)/unbound-host$(EXEEXT) $(DESTDIR)$(sbindir)/unbound-control$(EXEEXT) $(DESTDIR)$(sbindir)/unbound-anchor$(EXEEXT) $(DESTDIR)$(sbindir)/unbound-control-setup
        rm -f -- $(DESTDIR)$(mandir)/man8/unbound.8 $(DESTDIR)$(mandir)/man8/unbound-checkconf.8 $(DESTDIR)$(mandir)/man5/unbound.conf.5 $(DESTDIR)$(mandir)/man8/unbound-control.8 $(DESTDIR)$(mandir)/man8/unbound-anchor.8
        rm -f -- $(DESTDIR)$(mandir)/man1/unbound-host.1 $(DESTDIR)$(mandir)/man3/libunbound.3
+       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 \
+               rm -f -- $(DESTDIR)$(mandir)/man3/$$mpage.3 ; \
+       done
        rm -f -- $(DESTDIR)$(includedir)/unbound.h
        $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/libunbound.la
        @echo
index f846ffaefd8cfc8ae723002f7b124da6ecc9db27..80d7c4aad4c4a8303986a52c3f0b0437d0c04a06 100644 (file)
@@ -4,6 +4,7 @@
          serviced_query, without race conditions or administration issues.
          This should not happen with the current codebase, but it is robust.
        - Fix forward-first option where it sets the RD flag wrongly.
+       - added manpage links for libunbound calls (Thanks Paul Wouters).
 
 30 July 2012: Wouter
        - tag 1.4.18rc2.