[libvirt] [PATCH] docs: install html fonts and related

Nikolay Shirokovskiy posted 1 patch 6 years, 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/1494493287-810799-1-git-send-email-nshirokovskiy@virtuozzo.com
docs/Makefile.am | 22 ++++++++++++++++++++--
1 file changed, 20 insertions(+), 2 deletions(-)
[libvirt] [PATCH] docs: install html fonts and related
Posted by Nikolay Shirokovskiy 6 years, 11 months ago
---
 docs/Makefile.am | 22 ++++++++++++++++++++--
 1 file changed, 20 insertions(+), 2 deletions(-)

diff --git a/docs/Makefile.am b/docs/Makefile.am
index 105fe68..7a10a50 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -54,6 +54,20 @@ css =         \
   libvirt.css \
   main.css
 
+fonts = \
+  fonts/LICENSE.md \
+  fonts/stylesheet.css \
+  fonts/overpass-bold-italic.woff \
+  fonts/overpass-bold.woff \
+  fonts/overpass-italic.woff \
+  fonts/overpass-light-italic.woff \
+  fonts/overpass-light.woff \
+  fonts/overpass-mono-bold.woff \
+  fonts/overpass-mono-light.woff \
+  fonts/overpass-mono-regular.woff \
+  fonts/overpass-mono-semibold.woff \
+  fonts/overpass-regular.woff
+
 devhelppng =		\
   devhelp/home.png	\
   devhelp/left.png	\
@@ -163,7 +177,7 @@ EXTRA_DIST=					\
   $(devhelphtml) $(devhelppng) $(devhelpcss) $(devhelpxsl) \
   $(xml) $(qemu_xml) $(lxc_xml) $(admin_xml) $(fig) $(png) $(css) \
   $(logofiles) $(patches) $(dot_php_in) $(dot_php_code_in) $(dot_php)\
-  $(internals_html_in) $(internals_html) \
+  $(internals_html_in) $(internals_html) $(fonts) \
   aclperms.htmlinc \
   hvsupport.pl \
   $(schema_DATA)
@@ -383,9 +397,13 @@ install-data-local:
 	for file in $(devhelphtml) $(devhelppng) $(devhelpcss); do \
 	    $(INSTALL) -m 0644 $(srcdir)/$${file} $(DESTDIR)$(DEVHELP_DIR) ; \
 	done
+	$(mkinstalldirs) $(DESTDIR)$(HTML_DIR)/fonts
+	for f in $(fonts); do \
+	  $(INSTALL) -m 0644 $(srcdir)/$$f $(DESTDIR)$(HTML_DIR)/fonts; \
+	done
 
 uninstall-local:
-	for f in $(css) $(dot_html) $(gif) $(png); do \
+	for f in $(css) $(dot_html) $(gif) $(png) $(fonts); do \
 	  rm -f $(DESTDIR)$(HTML_DIR)/$$f; \
 	done
 	for f in $(logofiles); do \
-- 
1.8.3.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH] docs: install html fonts and related
Posted by Daniel P. Berrange 6 years, 11 months ago
On Thu, May 11, 2017 at 12:01:27PM +0300, Nikolay Shirokovskiy wrote:
> ---
>  docs/Makefile.am | 22 ++++++++++++++++++++--
>  1 file changed, 20 insertions(+), 2 deletions(-)

ACK


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH] docs: install html fonts and related
Posted by Maxim Nestratov 6 years, 11 months ago
11-May-17 12:15, Daniel P. Berrange пишет:

> On Thu, May 11, 2017 at 12:01:27PM +0300, Nikolay Shirokovskiy wrote:
>> ---
>>   docs/Makefile.am | 22 ++++++++++++++++++++--
>>   1 file changed, 20 insertions(+), 2 deletions(-)
> ACK
>
>
> Regards,
> Daniel

Pushed.

Thanks,
Maxim

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list