Move all image transformation to components.mk

This commit is contained in:
Andrey Cherepanov 2019-04-29 07:19:36 +03:00
parent a3e213d585
commit d66d71ec03
2 changed files with 24 additions and 19 deletions

View File

@ -4,25 +4,6 @@ NAME=@NAME@
VERSION=@VERSION@
all:
# generate derivative graphics
# make default wallpaper
cp -al images/background4x3.png images/wallpaper.png
cp -al images/background16x9.png graphics/backgrounds/default-wide.png
cp -al images/product-logo.png graphics/backgrounds/product-logo.png
cp -al images/wallpaper.png graphics/backgrounds/default.png
cp -al images/wallpaper.png graphics/backgrounds/xdm.png
# make wallpapers for gfxboot and grub2
# convert images/background4x3.png -resize 800x600 images/small.png
# display status
# convert images/small.png images/product-logo.png -geometry +30+30 -composite images/grub.png
# cp -al images/grub.png images/boot.png
# use predefined image 800x600 with logo
cp -al images/boot.png images/grub.png
# product logo for ahttpd
cp -al images/product-logo.png components/ahttpd/images/product-logo.png
# product logo for indexhtml
cp -al images/product-logo.png components/indexhtml/images/product-logo.png
include components.mk
install: browser-qt ahttpd boot-images boot-splash @X86@ indexhtml

View File

@ -1,3 +1,27 @@
# graphics
graphics:
# generate derivative graphics
# make default wallpaper
cp -al images/background4x3.png images/wallpaper.png
cp -al images/background16x9.png graphics/backgrounds/default-wide.png
cp -al images/product-logo.png graphics/backgrounds/product-logo.png
cp -al images/wallpaper.png graphics/backgrounds/default.png
cp -al images/wallpaper.png graphics/backgrounds/xdm.png
# make wallpapers for gfxboot and grub2
# convert images/background4x3.png -resize 800x600 images/small.png
# display status
# convert images/small.png images/product-logo.png -geometry +30+30 -composite images/grub.png
# cp -al images/grub.png images/boot.png
# use predefined image 800x600 with logo
cp -al images/boot.png images/grub.png
# product logo for ahttpd
cp -al images/product-logo.png components/ahttpd/images/product-logo.png
# product logo for indexhtml
cp -al images/product-logo.png components/indexhtml/images/product-logo.png
# browser-qt
components/browser-qt/design/bg.png: images/installer.png