aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2013-01-06 15:52:33 +0100
committerGravatar Tom Willemsen2013-01-06 15:52:33 +0100
commit4fde21d9913a63e8f057543aefa5b4125d74bd85 (patch)
tree3218768c2c8fa5ede3cf2ac02ea72138c2c36621 /Makefile
parente2999eed45ccd6998c5a692f40b7ff47e1fcb8eb (diff)
downloadmarkam-4fde21d9913a63e8f057543aefa5b4125d74bd85.tar.gz
markam-4fde21d9913a63e8f057543aefa5b4125d74bd85.zip
Use more variables
This allows any command used to be overridden, when, for example, they're not installed in PATH.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4666695..bac58a5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,8 @@
+INSTALL = install -D
+
export DESTDIR ?= /usr/local
+export INSTALL_PROGRAM = $(INSTALL)
+export INSTALL_DATA = $(INSTALL) -m 644
dirs = src doc conkeror
install-dirs = $(addprefix install-,$(dirs))