From f4cefe4dc7c39d138c807de9f5fc86fa88034346 Mon Sep 17 00:00:00 2001 From: Mikhail Kobuk Date: Fri, 19 Apr 2024 16:49:06 +0300 Subject: fix clean on all target, adjusted PHONY --- Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ec1ba4f..65abeb9 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ OUT_FMT = $(SED_SUBST) $(SILENCE) default: all -all: pre_install install post_install clean clean_misc +all: pre_install install post_install pre_install: interliner $(VERSION).tar # rm -f linux-6.8.4.tar.xz @@ -49,12 +49,21 @@ install: interliner $(VERSION) clear.ok patch patch.ok build build.ok @printf "> MAKING::$@::DONE\n" +reinstall: interliner $(VERSION) clear.ok patch patch.ok build build.ok + @printf "> MAKING::$@\n" + tar -xvf linux-6.8.4.tar.xz 2>tar.err.log | sed 's/^/\t=> /g' $(OUT_FMT) + sudo install -C -m755 $(VERSION)/arch/$(C_ARCH)/boot/bzImage /boot/vmlinuz-linux-VMKOS + ./mkcp.sh $(VERSION) | sed 's/^/\t==> /g' $(SED_SUBST) $(OUT_FMT) + @printf "> MAKING::$@::DONE\n" + +install: interliner $(VERSION) clear.ok patch patch.ok build build.ok + @printf "> MAKING::$@\n" post_install: interliner # @printf "> MAKING::$@\n" @printf "> MAKING::$@::DONE\n" -.PHONY: pre_install install post_install +.PHONY: pre_install install post_install clean clean_misc $(VERSION).tar: $(VERSION).tar.xz $(VERSION).tar.sign @printf "\t> MAKING::$@\n" -- cgit v1.2.3