summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael G Schwern <schwern@pobox.com>2007-12-18 02:51:39 -0800
committerRichard Clamp <richard@unixbeard.net>2007-12-18 11:03:07 +0000
commit16421f70f5b26ada5762d8a85272ac582fe2f9a5 (patch)
treedc8b94c8107d4b1d53b54349cdaf517279109a3b
parentd18b12ae81d53d4e505fb14c37d896decf96540d (diff)
downloadperl-maint-1.0.tar.gz
make bin and man directories before trying to install maint-1.0
"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
-rw-r--r--Makefile.SH2
1 files changed, 2 insertions, 0 deletions
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