Debian Codegraph @

src/branding/ubuntu/Makefile.am

raw
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2 ubuntubrandingdir = $(datadir)/cockpit/branding/ubuntu
3
4 dist_ubuntubranding_DATA = \
5 src/branding/ubuntu/branding.css \
6 src/branding/ubuntu/favicon.ico \
7 $(NULL)
8
9 # Icons provided by base-files package. Fallback to plymouth ubuntu logo if base-files don't have logos
10 install-data-hook::
11 if [ -f "/usr/share/pixmaps/ubuntu-logo-text.png" ]; then \
12 ln -sTfr $(DESTDIR)/usr/share/pixmaps/ubuntu-logo-text.png $(DESTDIR)$(ubuntubrandingdir)/logo.png; \
13 ln -sTfr $(DESTDIR)/usr/share/pixmaps/ubuntu-logo-text-dark.png $(DESTDIR)$(ubuntubrandingdir)/logo-dark.png; \
14 ln -sTfr $(DESTDIR)/usr/share/pixmaps/ubuntu-logo.svg $(DESTDIR)$(ubuntubrandingdir)/logo.svg; \
15 else \
16 ln -sTfr $(DESTDIR)/usr/share/plymouth/ubuntu-logo.png $(DESTDIR)$(ubuntubrandingdir)/logo.png; \
17 ln -sTfr $(DESTDIR)/usr/share/plymouth/ubuntu-logo.png $(DESTDIR)$(ubuntubrandingdir)/logo-dark.png; \
18 fi