summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2020-12-24 19:07:08 -0500
committerGitHub <noreply@github.com>2020-12-24 19:07:08 -0500
commit8dd99d2a1030d9485919362b078853c74eb183aa (patch)
treef9dad89c815a7b8efff1695c863b870a4effbd22 /Makefile
parentMerge pull request #56 from oyren/readme_log (diff)
parentadd install target to Makefile and corresponding prefix variable to config.mk (diff)
downloaddwl-8dd99d2a1030d9485919362b078853c74eb183aa.tar.gz
dwl-8dd99d2a1030d9485919362b078853c74eb183aa.tar.bz2
dwl-8dd99d2a1030d9485919362b078853c74eb183aa.tar.xz
dwl-8dd99d2a1030d9485919362b078853c74eb183aa.tar.zst
dwl-8dd99d2a1030d9485919362b078853c74eb183aa.zip
Merge pull request #65 from Keating950/master
Add install target to Makefile
Diffstat (limited to '')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2409aa4..16428ff 100644
--- a/Makefile
+++ b/Makefile
@@ -33,5 +33,10 @@ dwl: xdg-shell-protocol.o
clean:
rm -f dwl *.o xdg-shell-protocol.h xdg-shell-protocol.c
+install: dwl
+ mkdir -p $(PREFIX)/bin
+ cp -f dwl $(PREFIX)/bin
+ chmod 755 $(PREFIX)/bin/dwl
+
.DEFAULT_GOAL=dwl
.PHONY: clean