From: Jonas Fonseca Date: Mon, 24 Jul 2006 21:41:33 +0000 (+0200) Subject: Create directories during make install X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d441a715b86de79204ba065469a65308bcda5f40;p=tig.git Create directories during make install "In install there should be also mkdir -p $(DESTDIR)$(bindir)." --witekfl. --- diff --git a/Makefile b/Makefile index 0b970d9..9d8c57b 100644 --- a/Makefile +++ b/Makefile @@ -24,6 +24,7 @@ all-debug: CFLAGS += $(DFLAGS) doc: $(DOCS) install: all + mkdir -p $(DESTDIR)$(bindir) && \ for prog in $(PROGS); do \ install $$prog $(DESTDIR)$(bindir); \ done