libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit ace60e23531d15ed1a7e2e235388d33a6da468ba
parent 9a3ecffba7ce24ba26d7267f5c7e70d903ec11e2
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Mon,  4 Dec 2017 15:46:18 +0300

docs: install documentation picture alongside documentation files

Diffstat:
MChangeLog | 3+++
Mdoc/Makefile.am | 20++++++++++++++++++++
2 files changed, 23 insertions(+), 0 deletions(-)

diff --git 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 @@ -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