|
|
7bd9d8 |
################################################################################
|
|
|
7bd9d8 |
#
|
|
|
7bd9d8 |
# The CentOS Icons Makefile
|
|
|
7bd9d8 |
# Copyright (C) 2019 Alain Reguera Delgado
|
|
|
7bd9d8 |
#
|
|
|
7bd9d8 |
# This program is free software: you can redistribute it and/or modify it
|
|
|
7bd9d8 |
# under the terms of the GNU General Public License as published by the Free
|
|
|
7bd9d8 |
# Software Foundation, either version 3 of the License, or (at your option)
|
|
|
7bd9d8 |
# any later version.
|
|
|
7bd9d8 |
#
|
|
|
7bd9d8 |
# This program is distributed in the hope that it will be useful, but WITHOUT
|
|
|
7bd9d8 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
7bd9d8 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
|
7bd9d8 |
# more details.
|
|
|
7bd9d8 |
#
|
|
|
7bd9d8 |
# You should have received a copy of the GNU General Public License along
|
|
|
7bd9d8 |
# with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
7bd9d8 |
#
|
|
|
7bd9d8 |
################################################################################
|
|
|
7bd9d8 |
|
|
|
7bd9d8 |
#===============================================================================
|
|
|
7bd9d8 |
# Configuration
|
|
|
7bd9d8 |
#===============================================================================
|
|
|
7bd9d8 |
srcdir = SVG
|
|
|
7bd9d8 |
prefix = PNG
|
|
|
7bd9d8 |
|
|
|
7bd9d8 |
#===============================================================================
|
|
|
7bd9d8 |
# Requirements
|
|
|
7bd9d8 |
#===============================================================================
|
|
|
7bd9d8 |
all: icons pixmaps redhat-logos
|
|
|
7bd9d8 |
|
|
|
7bd9d8 |
#===============================================================================
|
|
|
7bd9d8 |
# Icons
|
|
|
7bd9d8 |
#===============================================================================
|
|
|
7bd9d8 |
icons: \
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/scalable/apps/start-here.svg \
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/scalable/apps/fedora-logo-icon.svg \
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/scalable/apps/xfce4_xicon1.svg \
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/16x16/apps/fedora-logo-icon.png \
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/16x16/apps/system-logo-icon.png \
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/22x22/apps/fedora-logo-icon.png \
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/22x22/apps/system-logo-icon.png \
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/24x24/apps/fedora-logo-icon.png \
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/24x24/apps/system-logo-icon.png \
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/32x32/apps/fedora-logo-icon.png \
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/32x32/apps/system-logo-icon.png \
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/36x36/apps/fedora-logo-icon.png \
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/36x36/apps/system-logo-icon.png \
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/48x48/apps/fedora-logo-icon.png \
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/48x48/apps/system-logo-icon.png \
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/48x48/apps/anaconda.png \
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/96x96/apps/fedora-logo-icon.png \
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/96x96/apps/system-logo-icon.png \
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/256x256/apps/fedora-logo-icon.png \
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/256x256/apps/system-logo-icon.png
|
|
|
7bd9d8 |
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/scalable/apps:
|
|
|
7bd9d8 |
mkdir -p $(prefix)/icons/hicolor/scalable/apps
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/16x16/apps:
|
|
|
7bd9d8 |
mkdir -p $(prefix)/icons/hicolor/16x16/apps
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/22x22/apps:
|
|
|
7bd9d8 |
mkdir -p $(prefix)/icons/hicolor/22x22/apps
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/24x24/apps:
|
|
|
7bd9d8 |
mkdir -p $(prefix)/icons/hicolor/24x24/apps
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/32x32/apps:
|
|
|
7bd9d8 |
mkdir -p $(prefix)/icons/hicolor/32x32/apps
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/36x36/apps:
|
|
|
7bd9d8 |
mkdir -p $(prefix)/icons/hicolor/36x36/apps
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/48x48/apps:
|
|
|
7bd9d8 |
mkdir -p $(prefix)/icons/hicolor/48x48/apps
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/96x96/apps:
|
|
|
7bd9d8 |
mkdir -p $(prefix)/icons/hicolor/96x96/apps
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/256x256/apps:
|
|
|
7bd9d8 |
mkdir -p $(prefix)/icons/hicolor/256x256/apps
|
|
|
7bd9d8 |
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/scalable/apps/start-here.svg: $(srcdir)/centos-symbol.svg $(prefix)/icons/hicolor/scalable/apps
|
|
|
7bd9d8 |
cp $(srcdir)/centos-symbol.svg $(prefix)/icons/hicolor/scalable/apps/start-here.svg
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/scalable/apps/fedora-logo-icon.svg: $(srcdir)/centos-symbol.svg $(prefix)/icons/hicolor/scalable/apps
|
|
|
7bd9d8 |
cp $(srcdir)/centos-symbol.svg $(prefix)/icons/hicolor/scalable/apps/fedora-logo-icon.svg
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/scalable/apps/xfce4_xicon1.svg: $(srcdir)/centos-symbol.svg $(prefix)/icons/hicolor/scalable/apps
|
|
|
7bd9d8 |
cp $(srcdir)/centos-symbol.svg $(prefix)/icons/hicolor/scalable/apps/xfce4_xicon1.svg
|
|
|
7bd9d8 |
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/16x16/apps/fedora-logo-icon.png: $(srcdir)/centos-symbol.svg $(prefix)/icons/hicolor/16x16/apps
|
|
|
7bd9d8 |
inkscape --export-height=16 --export-png=$(prefix)/icons/hicolor/16x16/apps/fedora-logo-icon.png $(srcdir)/centos-symbol.svg
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/16x16/apps/system-logo-icon.png: $(srcdir)/centos-symbol.svg $(prefix)/icons/hicolor/16x16/apps
|
|
|
7bd9d8 |
inkscape --export-height=16 --export-png=$(prefix)/icons/hicolor/16x16/apps/system-logo-icon.png $(srcdir)/centos-symbol.svg
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/22x22/apps/fedora-logo-icon.png: $(srcdir)/centos-symbol.svg $(prefix)/icons/hicolor/22x22/apps
|
|
|
7bd9d8 |
inkscape --export-height=22 --export-png=$(prefix)/icons/hicolor/22x22/apps/fedora-logo-icon.png $(srcdir)/centos-symbol.svg
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/22x22/apps/system-logo-icon.png: $(srcdir)/centos-symbol.svg $(prefix)/icons/hicolor/22x22/apps
|
|
|
7bd9d8 |
inkscape --export-height=22 --export-png=$(prefix)/icons/hicolor/22x22/apps/system-logo-icon.png $(srcdir)/centos-symbol.svg
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/24x24/apps/fedora-logo-icon.png: $(srcdir)/centos-symbol.svg $(prefix)/icons/hicolor/24x24/apps
|
|
|
7bd9d8 |
inkscape --export-height=24 --export-png=$(prefix)/icons/hicolor/24x24/apps/fedora-logo-icon.png $(srcdir)/centos-symbol.svg
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/24x24/apps/system-logo-icon.png: $(srcdir)/centos-symbol.svg $(prefix)/icons/hicolor/24x24/apps
|
|
|
7bd9d8 |
inkscape --export-height=24 --export-png=$(prefix)/icons/hicolor/24x24/apps/system-logo-icon.png $(srcdir)/centos-symbol.svg
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/32x32/apps/fedora-logo-icon.png: $(srcdir)/centos-symbol.svg $(prefix)/icons/hicolor/32x32/apps
|
|
|
7bd9d8 |
inkscape --export-height=32 --export-png=$(prefix)/icons/hicolor/32x32/apps/fedora-logo-icon.png $(srcdir)/centos-symbol.svg
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/32x32/apps/system-logo-icon.png: $(srcdir)/centos-symbol.svg $(prefix)/icons/hicolor/32x32/apps
|
|
|
7bd9d8 |
inkscape --export-height=32 --export-png=$(prefix)/icons/hicolor/32x32/apps/system-logo-icon.png $(srcdir)/centos-symbol.svg
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/36x36/apps/fedora-logo-icon.png: $(srcdir)/centos-symbol.svg $(prefix)/icons/hicolor/36x36/apps
|
|
|
7bd9d8 |
inkscape --export-height=36 --export-png=$(prefix)/icons/hicolor/36x36/apps/fedora-logo-icon.png $(srcdir)/centos-symbol.svg
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/36x36/apps/system-logo-icon.png: $(srcdir)/centos-symbol.svg $(prefix)/icons/hicolor/36x36/apps
|
|
|
7bd9d8 |
inkscape --export-height=36 --export-png=$(prefix)/icons/hicolor/36x36/apps/system-logo-icon.png $(srcdir)/centos-symbol.svg
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/48x48/apps/fedora-logo-icon.png: $(srcdir)/centos-symbol.svg $(prefix)/icons/hicolor/48x48/apps
|
|
|
7bd9d8 |
inkscape --export-height=48 --export-png=$(prefix)/icons/hicolor/48x48/apps/fedora-logo-icon.png $(srcdir)/centos-symbol.svg
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/48x48/apps/system-logo-icon.png: $(srcdir)/centos-symbol.svg $(prefix)/icons/hicolor/48x48/apps
|
|
|
7bd9d8 |
inkscape --export-height=48 --export-png=$(prefix)/icons/hicolor/48x48/apps/system-logo-icon.png $(srcdir)/centos-symbol.svg
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/48x48/apps/anaconda.png: $(srcdir)/anaconda.svg $(prefix)/icons/hicolor/48x48/apps
|
|
|
7bd9d8 |
inkscape --export-height=48 --export-png=$(prefix)/icons/hicolor/48x48/apps/anaconda.png $(srcdir)/anaconda.svg
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/96x96/apps/fedora-logo-icon.png: $(srcdir)/centos-symbol.svg $(prefix)/icons/hicolor/96x96/apps
|
|
|
7bd9d8 |
inkscape --export-height=96 --export-png=$(prefix)/icons/hicolor/96x96/apps/fedora-logo-icon.png $(srcdir)/centos-symbol.svg
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/96x96/apps/system-logo-icon.png: $(srcdir)/centos-symbol.svg $(prefix)/icons/hicolor/96x96/apps
|
|
|
7bd9d8 |
inkscape --export-height=96 --export-png=$(prefix)/icons/hicolor/96x96/apps/system-logo-icon.png $(srcdir)/centos-symbol.svg
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/256x256/apps/fedora-logo-icon.png: $(srcdir)/centos-symbol.svg $(prefix)/icons/hicolor/256x256/apps
|
|
|
7bd9d8 |
inkscape --export-height=256 --export-png=$(prefix)/icons/hicolor/256x256/apps/fedora-logo-icon.png $(srcdir)/centos-symbol.svg
|
|
|
7bd9d8 |
$(prefix)/icons/hicolor/256x256/apps/system-logo-icon.png: $(srcdir)/centos-symbol.svg $(prefix)/icons/hicolor/256x256/apps
|
|
|
7bd9d8 |
inkscape --export-height=256 --export-png=$(prefix)/icons/hicolor/256x256/apps/system-logo-icon.png $(srcdir)/centos-symbol.svg
|
|
|
7bd9d8 |
|
|
|
7bd9d8 |
#===============================================================================
|
|
|
7bd9d8 |
# Pixmaps
|
|
|
7bd9d8 |
#===============================================================================
|
|
|
7bd9d8 |
pixmaps: \
|
|
|
7bd9d8 |
$(prefix)/pixmaps/fedora-gdm-logo.png \
|
|
|
7bd9d8 |
$(prefix)/pixmaps/fedora-logo.png \
|
|
|
7bd9d8 |
$(prefix)/pixmaps/fedora-logo-small.png \
|
|
|
7bd9d8 |
$(prefix)/pixmaps/fedora-logo-sprite.png \
|
|
|
7bd9d8 |
$(prefix)/pixmaps/fedora-logo-sprite.svg \
|
|
|
7bd9d8 |
$(prefix)/pixmaps/poweredby.png \
|
|
|
7bd9d8 |
$(prefix)/pixmaps/system-logo-white.png
|
|
|
7bd9d8 |
|
|
|
7bd9d8 |
$(prefix)/pixmaps:
|
|
|
7bd9d8 |
mkdir -p $(prefix)/pixmaps
|
|
|
7bd9d8 |
|
|
|
7bd9d8 |
$(prefix)/pixmaps/fedora-logo-sprite.svg: $(srcdir)/centos-logo-release.svg $(prefix)/pixmaps
|
|
|
7bd9d8 |
cp -v $(srcdir)/centos-logo-release.svg $(prefix)/pixmaps/fedora-logo-sprite.svg
|
|
|
7bd9d8 |
$(prefix)/pixmaps/fedora-gdm-logo.png: $(srcdir)/centos-logo-white.svg $(prefix)/pixmaps
|
|
|
7bd9d8 |
inkscape --export-height=48 --export-png=$(prefix)/pixmaps/fedora-gdm-logo.png $(srcdir)/centos-logo-white.svg
|
|
|
7bd9d8 |
$(prefix)/pixmaps/fedora-logo.png: $(srcdir)/centos-logo-release.svg $(prefix)/pixmaps
|
|
|
7bd9d8 |
inkscape --export-height=88 --export-png=$(prefix)/pixmaps/fedora-logo.png $(srcdir)/centos-logo-release.svg
|
|
|
7bd9d8 |
$(prefix)/pixmaps/fedora-logo-small.png: $(srcdir)/centos-logo-release.svg $(prefix)/pixmaps
|
|
|
7bd9d8 |
inkscape --export-height=48 --export-png=$(prefix)/pixmaps/fedora-logo-small.png $(srcdir)/centos-logo-release.svg
|
|
|
7bd9d8 |
$(prefix)/pixmaps/fedora-logo-sprite.png: $(srcdir)/centos-logo-release.svg $(prefix)/pixmaps
|
|
|
7bd9d8 |
inkscape --export-height=128 --export-png=$(prefix)/pixmaps/fedora-logo-sprite.png $(srcdir)/centos-logo-release.svg
|
|
|
7bd9d8 |
$(prefix)/pixmaps/poweredby.png: $(srcdir)/centos-logo-release.svg $(prefix)/pixmaps
|
|
|
7bd9d8 |
inkscape --export-height=31 --export-png=$(prefix)/pixmaps/poweredby.png $(srcdir)/centos-logo-release.svg
|
|
|
7bd9d8 |
$(prefix)/pixmaps/system-logo-white.png: $(srcdir)/centos-logo-release-white.svg $(prefix)/pixmaps
|
|
|
7bd9d8 |
inkscape --export-height=80 --export-png=$(prefix)/pixmaps/system-logo-white.png $(srcdir)/centos-logo-release-white.svg
|
|
|
7bd9d8 |
|
|
|
7bd9d8 |
#===============================================================================
|
|
|
7bd9d8 |
# redhat-logos
|
|
|
7bd9d8 |
#===============================================================================
|
|
|
7bd9d8 |
redhat-logos: \
|
|
|
7bd9d8 |
$(prefix)/redhat-logos/fedora_logo.svg \
|
|
|
7bd9d8 |
$(prefix)/redhat-logos/fedora_logo_darkbackground.svg
|
|
|
7bd9d8 |
|
|
|
7bd9d8 |
$(prefix)/redhat-logos:
|
|
|
7bd9d8 |
mkdir -p $(prefix)/redhat-logos
|
|
|
7bd9d8 |
|
|
|
7bd9d8 |
$(prefix)/redhat-logos/fedora_logo.svg: $(srcdir)/centos-logo-release.svg $(prefix)/redhat-logos
|
|
|
7bd9d8 |
cp -v $(srcdir)/centos-logo-release.svg $(prefix)/redhat-logos/fedora_logo.svg
|
|
|
7bd9d8 |
$(prefix)/redhat-logos/fedora_logo_darkbackground.svg: $(srcdir)/centos-logo-release-white.svg $(prefix)/redhat-logos
|
|
|
7bd9d8 |
cp -v $(srcdir)/centos-logo-release-white.svg $(prefix)/redhat-logos/fedora_logo_darkbackground.svg
|