diff options
| author | 2013-01-06 14:36:51 +0100 | |
|---|---|---|
| committer | 2013-01-06 14:36:51 +0100 | |
| commit | 58a7c046d22579cc5156fb34429e5ea7ea5a5526 (patch) | |
| tree | b0c136e3bdf6ea2d0296d712197b108f074f6f49 /Makefile | |
| parent | 8d9615f72aa090cf45f156400d7c02d33837c1af (diff) | |
| download | markam-58a7c046d22579cc5156fb34429e5ea7ea5a5526.tar.gz markam-58a7c046d22579cc5156fb34429e5ea7ea5a5526.zip | |
Add install target to Makefile
Installs everything under `DESTDIR', which is `/usr/local' by
default.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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 |
