mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
meson: docs/logos: install logo files
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Neal Gompa <ngompa13@gmail.com>
This commit is contained in:
parent
d14f1337ef
commit
b76bccf4cd
@ -16,38 +16,6 @@
|
||||
## License along with this library. If not, see
|
||||
## <http://www.gnu.org/licenses/>.
|
||||
|
||||
all: vpathhack
|
||||
|
||||
# This hack enables us to view the web pages
|
||||
# from within the uninstalled build tree
|
||||
vpathhack:
|
||||
@for dir in logos; \
|
||||
do \
|
||||
test -e $$dir || ln -s $(srcdir)/$$dir $$dir ; \
|
||||
done
|
||||
|
||||
logofiles = \
|
||||
logos/logo-base.svg \
|
||||
logos/logo-square.svg \
|
||||
logos/logo-square-powered.svg \
|
||||
logos/logo-banner-dark.svg \
|
||||
logos/logo-banner-light.svg \
|
||||
logos/logo-square-96.png \
|
||||
logos/logo-square-128.png \
|
||||
logos/logo-square-192.png \
|
||||
logos/logo-square-256.png \
|
||||
logos/logo-square-powered-96.png \
|
||||
logos/logo-square-powered-128.png \
|
||||
logos/logo-square-powered-192.png \
|
||||
logos/logo-square-powered-256.png \
|
||||
logos/logo-banner-dark-256.png \
|
||||
logos/logo-banner-dark-800.png \
|
||||
logos/logo-banner-light-256.png \
|
||||
logos/logo-banner-light-800.png
|
||||
|
||||
logofilesdir = $(HTML_DIR)/logos
|
||||
logofiles_DATA = $(logofiles)
|
||||
|
||||
# Sync with src/util/
|
||||
KEYCODES = linux osx atset1 atset2 atset3 xtkbd usb win32 qnum
|
||||
KEYNAMES = linux osx win32
|
||||
|
29
docs/logos/meson.build
Normal file
29
docs/logos/meson.build
Normal file
@ -0,0 +1,29 @@
|
||||
docs_logo_files = [
|
||||
'logo-banner-dark-256.png',
|
||||
'logo-banner-dark-800.png',
|
||||
'logo-banner-dark.svg',
|
||||
'logo-banner-light-256.png',
|
||||
'logo-banner-light-800.png',
|
||||
'logo-banner-light.svg',
|
||||
'logo-base.svg',
|
||||
'logo-square-128.png',
|
||||
'logo-square-192.png',
|
||||
'logo-square-256.png',
|
||||
'logo-square-96.png',
|
||||
'logo-square-powered-128.png',
|
||||
'logo-square-powered-192.png',
|
||||
'logo-square-powered-256.png',
|
||||
'logo-square-powered-96.png',
|
||||
'logo-square-powered.svg',
|
||||
'logo-square.svg',
|
||||
'logo-sticker-hexagon.svg',
|
||||
'logo-sticker-square.svg',
|
||||
]
|
||||
|
||||
install_data(docs_logo_files, install_dir: docs_html_dir / 'logos')
|
||||
|
||||
# This hack enables us to view the web pages
|
||||
# from within the uninstalled build tree
|
||||
foreach file : docs_logo_files
|
||||
configure_file(input: file, output: file, copy: true)
|
||||
endforeach
|
@ -296,6 +296,7 @@ subdir('html')
|
||||
subdir('internals')
|
||||
subdir('js')
|
||||
subdir('kbase')
|
||||
subdir('logos')
|
||||
|
||||
|
||||
# This hack enables us to view the web pages
|
||||
|
Loading…
Reference in New Issue
Block a user