summaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2015-04-26 08:57:51 +0100
committerSimon Tatham <anakin@pobox.com>2015-04-26 08:57:51 +0100
commit6f1c6378cf01dd5d91c5dbcba987555bfbd029d5 (patch)
tree911dfa3241face8c079cea44ebb4e128cffec277 /doc/Makefile
parent4f6f2db7fb076e7e031fe240d9fbc8423ba69d6f (diff)
downloadhalibut-6f1c6378cf01dd5d91c5dbcba987555bfbd029d5.zip
halibut-6f1c6378cf01dd5d91c5dbcba987555bfbd029d5.tar.gz
halibut-6f1c6378cf01dd5d91c5dbcba987555bfbd029d5.tar.bz2
halibut-6f1c6378cf01dd5d91c5dbcba987555bfbd029d5.tar.xz
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.
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile1
1 files changed, 1 insertions, 0 deletions
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: