From 6f1c6378cf01dd5d91c5dbcba987555bfbd029d5 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sun, 26 Apr 2015 08:57:51 +0100 Subject: Makefile: create subdirs of the install directory too. Now you can 'make install prefix=/some/previously/nonexistent/path' and have all the necessary subdirs created for you. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f8efeb1..a60bac7 100644 --- a/Makefile +++ b/Makefile @@ -116,7 +116,7 @@ clean:: rm -f *.o halibut core install: - mkdir -p $(prefix) + mkdir -p $(prefix) $(bindir) $(INSTALL) -m 755 halibut $(bindir)/halibut $(MAKE) -C ../doc install prefix="$(prefix)" INSTALL="$(INSTALL)" -- cgit v1.1