From 16421f70f5b26ada5762d8a85272ac582fe2f9a5 Mon Sep 17 00:00:00 2001 From: Michael G Schwern Date: Tue, 18 Dec 2007 02:51:39 -0800 Subject: make bin and man directories before trying to install "make install" does not make the install directories before trying to copy to them. This patch fixes that. git-svn-id: https://svn.unixbeard.net/richardc/perl/perl-1@4915 c56e198b-7db7-0310-b3ab-8e406f684e33 --- Makefile.SH | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.SH b/Makefile.SH index b0ec91c82a..13681f2733 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -119,6 +119,7 @@ perl.man: perl.man.1 perl.man.2 install: perl perl.man # won't work with csh export PATH || exit 1 + - ./makedir $(bin) - mv $(bin)/perl $(bin)/perl.old - if test `pwd` != $(bin); then cp $(public) $(bin); fi cd $(bin); \ @@ -139,6 +140,7 @@ done #done - if test `pwd` != $(mansrc); then \ for page in $(manpages); do \ +./makedir $(mansrc); \ cp $$page $(mansrc)/`basename $$page .man`.$(manext); \ done; \ fi -- cgit v1.2.1