summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorozpv <39195175+ozpv@users.noreply.github.com>2022-05-26 18:34:21 -0500
committerGitHub <noreply@github.com>2022-05-26 18:34:21 -0500
commitf350fb79a86cc98ac39dcb9eae408517e8f4c7ad (patch)
tree7d4e96ee7d6f950d40344a82e27740986ceb1cf8 /Makefile
parent844185224e5f39d6ead1e9bdec30d5dda4e91518 (diff)
update
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 77bcbc0..9ebcc8c 100644
--- a/Makefile
+++ b/Makefile
@@ -43,9 +43,13 @@ install: all
mkdir -p ${DESTDIR}${MANPREFIX}/man1
sed "s/VERSION/${VERSION}/g" < dwm.1 > ${DESTDIR}${MANPREFIX}/man1/dwm.1
chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1
+ mkdir -p $(DESTDIR)$(USRHOME)/.config/dwm/
+ cp -r scripts/* $(DESTDIR)$(USRHOME)/.config/dwm/
+ chmod 0755 $(DESTDIR)$(USRHOME)/.config/dwm/powermenu.sh
uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/dwm\
${DESTDIR}${MANPREFIX}/man1/dwm.1
+ rm -rf $(DESTDIR)$(USRHOME)/.config/dwm
.PHONY: all options clean dist install uninstall