summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSüleyman Fərəcli <suleyman@farajli.net>2025-06-20 17:22:54 +0400
committerGitHub <noreply@github.com>2025-06-20 17:22:54 +0400
commiteb312b971b85c117e02799d72d6dfdcc15c478ed (patch)
tree210d516c35c370cb851c59c0b0d177128e109552 /Makefile
parent4d14ace3c5180ec0827408c1222cb35fe27cf484 (diff)
parentf2ca88c01f88fe3234b196202cd86b19cd9b72bb (diff)
Merge pull request #11 from sfarajli/dev
Dev
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 7 insertions, 5 deletions
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 = <to be set manually>/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 <YOUR_KEY_ID>" >&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