markam/Makefile
Tom Willemsen 58a7c046d2 Add install target to Makefile
Installs everything under `DESTDIR', which is `/usr/local' by
default.
2013-01-06 14:36:51 +01:00

15 lines
237 B
Makefile

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