diff --git a/ChangeLog b/ChangeLog index eab669d6..c83e47ab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +Mon Nov 04 15:43:00 MSK 2017 + Minor documentation installation fixes. -EG + Mon Nov 27 22:58:38 CET 2017 Tolerate AF_UNIX when trying to determine our binding port from socket. Use `sockaddr_storage` instead of trying to diff --git a/doc/Makefile.am b/doc/Makefile.am index f07db8bd..ef8ee966 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -35,3 +35,23 @@ EXTRA_DIST = \ $(microhttpd_TEXINFOS) \ libmicrohttpd_performance_data.png \ libmicrohttpd_performance_data.eps + +install-info-local: + @echo " $(MKDIR_P) '$(DESTDIR)$(infodir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(infodir)" || exit 1; \ + echo " $(INSTALL_DATA) libmicrohttpd_performance_data.png '$(DESTDIR)$(infodir)'"; \ + $(INSTALL_DATA) $(srcdir)/libmicrohttpd_performance_data.png "$(DESTDIR)$(infodir)" || exit 1; + +install-html-local: + @if test -n "$(htmldir)"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(htmldir)/libmicrohttpd.html'"; \ + $(MKDIR_P) "$(DESTDIR)$(htmldir)/libmicrohttpd.html" || exit 1; \ + echo " $(INSTALL_DATA) libmicrohttpd_performance_data.png '$(DESTDIR)$(htmldir)/libmicrohttpd.html'"; \ + $(INSTALL_DATA) $(srcdir)/libmicrohttpd_performance_data.png "$(DESTDIR)$(htmldir)/libmicrohttpd.html" || exit 1; \ + else : ; fi + +uninstall-local: + @if test -d "$(DESTDIR)$(infodir)"; then \ + echo " rm -f '$(DESTDIR)$(infodir)/libmicrohttpd_performance_data.png'"; \ + rm -f "$(DESTDIR)$(infodir)/libmicrohttpd_performance_data.png" \ + else : ; fi