summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorflu0r1ne <flu0r1ne@flu0r1ne.net>2022-06-20 13:23:40 -0500
committerflu0r1ne <flu0r1ne@flu0r1ne.net>2022-06-20 13:23:40 -0500
commit81d574b2ea7c88812e23661dd5f53c42e763f438 (patch)
treee70dfaf2b29d00d51ae4628b6366dbc03b1d357e /Makefile
downloadgit-config-profile-81d574b2ea7c88812e23661dd5f53c42e763f438.tar.xz
git-config-profile-81d574b2ea7c88812e23661dd5f53c42e763f438.zip
Add git-config-profile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..5885135
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,20 @@
+ifeq ($(PREFIX),)
+ PREFIX := /usr/local
+endif
+
+ifeq ($(BINDIR),)
+ BINDIR := /bin
+endif
+
+CMD=git-config-profile
+
+make:
+
+install:
+ mkdir -p $(DESTDIR)$(PREFIX)$(BINDIR)/
+ install -m 755 $(CMD) $(DESTDIR)$(PREFIX)$(BINDIR)/
+
+uninstall:
+ rm -rf $(DESTDIR)$(PREFIX)$(BINDIR)/$(CMD)
+
+.PHONY: install uninstall make