From 14140c127e5b44dd6f8aa76b5f6c946d77610939 Mon Sep 17 00:00:00 2001 Message-Id: <14140c127e5b44dd6f8aa76b5f6c946d77610939.1680454654.git.yantar92@posteo.net> In-Reply-To: References: From: Ihor Radchenko Date: Sun, 2 Apr 2023 14:05:22 +0200 Subject: [PATCH 5/6] mk: Echo main compilation states when running make * lisp/Makefile (all compile compile-dirty): ($(LISPV)): ($(LISPI)): Echo compile stage. * mk/targets.mk (uppkg): Echo compile stage and hide the installation command. --- lisp/Makefile | 7 +++++-- mk/targets.mk | 7 ++++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/lisp/Makefile b/lisp/Makefile index f507f18a2..45d8109f0 100644 --- a/lisp/Makefile +++ b/lisp/Makefile @@ -20,6 +20,7 @@ _ORGCM_ := dirall single source slint1 slint2 # do not clean here, done in toplevel make all compile compile-dirty:: autoloads + @$(info ========= Compiling lisp files using '$(ORGCM)' target) ifeq ($(filter-out $(_ORGCM_),$(ORGCM)),) $(MAKE) compile-$(ORGCM) else @@ -52,12 +53,14 @@ slint1: autoloads: cleanauto $(LISPI) $(LISPV) $(LISPV): $(LISPF) - @echo "org-version: $(ORGVERSION) ($(GITVERSION))" + @$(info ========= Auto-generating Org version number) + @$(info org-version: $(ORGVERSION) ($(GITVERSION))) @$(RM) $(@) @$(MAKE_ORG_VERSION) $(LISPI): $(LISPV) $(LISPF) - @echo "org-loaddefs: $(ORGVERSION) ($(GITVERSION))" + @$(info ========= Auto-generating Org loaddefs) + @$(info org-loaddefs: $(ORGVERSION) ($(GITVERSION))) @$(RM) $(@) @$(MAKE_ORG_INSTALL) diff --git a/mk/targets.mk b/mk/targets.mk index 18faa02f5..072106237 100644 --- a/mk/targets.mk +++ b/mk/targets.mk @@ -103,9 +103,10 @@ ifeq ($(TEST_NO_AUTOCLEAN),) # define this variable to leave $(testdir) around f endif uppkg:: - -$(MKDIR) -p $(pkgdir) - -$(FIND) $(pkgdir) \( -name \*.elc \) -exec $(RM) {} + - $(INSTALL_PACKAGES) + $(info ========= Installing required third-party packages) + @$(MKDIR) -p $(pkgdir) + @$(FIND) $(pkgdir) \( -name \*.elc \) -exec $(RM) {} + + -@$(INSTALL_PACKAGES) up0 up1 up2:: git checkout $(GIT_BRANCH) -- 2.39.1