aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e796ed8..ebe51e9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,15 @@
-dirs = src doc
+export DESTDIR ?= /usr/local
+
+dirs = src doc conkeror
+install-dirs = $(addprefix install-,$(dirs))
.PHONY: all $(dirs)
all: $(dirs)
+install: $(install-dirs)
+
$(dirs):
$(MAKE) -C $@
+
+$(install-dirs): install-%:
+ $(MAKE) -C $*/ install