From c221c7fce68bcdca1392ee4c5c37e681d14135dc Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Fri, 20 Jun 2025 17:17:29 +0400 Subject: fix(makefile): update git config installation and clean trailing whitespaces --- Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7a59c9a..1928b2b 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ DWM = dwm-farajli-6.5 ST = st-farajli-0.9.2 DMENU = dmenu-farajli-5.3 SLSTATUS = slstatus-farajli-1.0 - + CONFDIR = $(HOME)/.config MUSICDIR = $(HOME)/music PROJDIR = $(HOME)/proj @@ -48,8 +48,10 @@ config: $(LINK) $(CONFDIR)/shell/profile $(ZPROFILE) git: - sed '/^# signingkey =/d' config/git/gitconfig > $(GITCONFIG) + sed '/# signingkey = /d' config/git/gitconfig > $(GITCONFIG) + @echo "#####################################################################" @echo "Warning: Git commit/tag signing is enabled but signingKey is not set." >&2 + @echo "#####################################################################" @echo "Configure it manually using:" >&2 @echo " gpg --list-secret-keys --keyid-format=long" >&2 @echo " git config --global user.signingkey " >&2 @@ -84,11 +86,11 @@ $(ST): $(ST).tar.gz $(DMENU): $(DMENU).tar.gz $(SLSTATUS): $(SLSTATUS).tar.gz -$(DWM) $(ST) $(DMENU) $(SLSTATUS): +$(DWM) $(ST) $(DMENU) $(SLSTATUS): tar -xf $< cd $@; PREFIX=~/.local make install -check: +check: @-./dep.sh dist: clean @@ -102,6 +104,6 @@ clean: $(DWM) $(DWM).tar.gz \ $(ST) $(ST).tar.gz \ $(DMENU) $(DMENU).tar.gz \ - $(SLSTATUS) $(SLSTATUS).tar.gz + $(SLSTATUS) $(SLSTATUS).tar.gz .PHONY: all config desktop scripts server arch-linux directory full check -- cgit v1.2.3