From 798838b71a8fdd0cf1a880ff1af5171b420c6470 Mon Sep 17 00:00:00 2001 From: nodiscc Date: Sat, 29 Feb 2020 14:44:42 +0100 Subject: [PATCH] Makefile: add https://gitlab.com/nodiscc/cc0-wallpapers to extra downloads, add a separate 'clean' target --- Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e29e874..f042248 100644 --- a/Makefile +++ b/Makefile @@ -8,15 +8,22 @@ install_buildenv: ############################## +clean: + -rm -rf config/includes.chroot/usr/share/plymouth/themes/debian-logo cache/downloads/plymouth-theme-debian-logo-1.0 + -rm -rf config/includes.chroot/usr/share/backgrounds/cc0-wallpapers cache/downloads/cc0-wallpapers-1.0 + + WGET=wget --timestamping --no-verbose --show-progress --directory-prefix=cache/downloads/ download_extras: mkdir -p cache/downloads/ # https://gitlab.com/nodiscc/plymouth-theme-debian-logo $(WGET) https://gitlab.com/nodiscc/plymouth-theme-debian-logo/-/archive/1.0/plymouth-theme-debian-logo-1.0.zip - -rm -rf config/includes.chroot/usr/share/plymouth/themes/debian-logo cache/downloads/plymouth-theme-debian-logo-1.0 unzip -q cache/downloads/plymouth-theme-debian-logo-1.0.zip -d cache/downloads/ - mkdir -p config/includes.chroot/usr/share/plymouth/themes/ - mv cache/downloads/plymouth-theme-debian-logo-1.0 config/includes.chroot/usr/share/plymouth/themes/debian-logo + mkdir -p config/includes.chroot/usr/share/plymouth/themes/ && mv cache/downloads/plymouth-theme-debian-logo-1.0 config/includes.chroot/usr/share/plymouth/themes/debian-logo + # https://gitlab.com/nodiscc/cc0-wallpapers + $(WGET) https://gitlab.com/nodiscc/cc0-wallpapers/-/archive/1.0/cc0-wallpapers-1.0.zip + unzip -q cache/downloads/cc0-wallpapers-1.0.zip -d cache/downloads/ + mkdir -p config/includes.chroot/usr/share/backgrounds/ && mv cache/downloads/cc0-wallpapers-1.0 config/includes.chroot/usr/share/backgrounds/cc0-wallpapers ##############################