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. --- doc/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'doc/Makefile') diff --git a/doc/Makefile b/doc/Makefile index 63299ad..81a1fd8 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -17,6 +17,7 @@ halibut.1: manpage.but $(HALIBUT) --man=halibut.1 manpage.but install: + mkdir -p $(man1dir) $(INSTALL) -m 644 halibut.1 $(man1dir)/halibut.1 clean: -- cgit v1.1