aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-05-27 22:30:00 +0200
committerGravatar Tom Willemse2013-05-27 22:30:00 +0200
commit7f6037855dbfb16e5c05c29fd1eaeba14c4dfabb (patch)
treec450f41b7b95f59fe1036489b94ac95a99c64187 /Makefile
parentaa0accc9772c8d49f16fc167f49587ff902bd3dd (diff)
downloadgitto-7f6037855dbfb16e5c05c29fd1eaeba14c4dfabb.tar.gz
gitto-7f6037855dbfb16e5c05c29fd1eaeba14c4dfabb.zip
Add user manual
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 256c7d6..0b51b8d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,10 @@
-export DESTDIR ?= /usr
+INSTALL = install -D
-dirs = src gitto zsh
+export DESTDIR ?= /usr/local
+export INSTALL_PROGRAM = $(INSTALL)
+export INSTALL_DATA = $(INSTALL) -m 644
+
+dirs = doc src gitto zsh
install-dirs = $(addprefix install-,$(dirs))
uninstall-dirs = $(addprefix uninstall-,$(dirs))