docs: install documentation picture alongside documentation files

This commit is contained in:
Evgeny Grin (Karlson2k)
2017-12-04 15:46:18 +03:00
parent 9a3ecffba7
commit ace60e2353
2 changed files with 23 additions and 0 deletions
+20
View File
@@ -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