From 3c9c3ce3394e6ff9be9cdb821c3be489e5dc1f3b Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 19 Aug 1992 21:38:00 +0000 Subject: [PATCH] Brought forward from p3: Wed Aug 19 14:36:39 1992 Ian Lance Taylor (ian@cygnus.com) * Makefile.in: always create installation directories. --- gprof/ChangeLog | 4 ++++ gprof/Makefile.in | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/gprof/ChangeLog b/gprof/ChangeLog index b884ed88f1..c84cf6946a 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,7 @@ +Wed Aug 19 14:36:39 1992 Ian Lance Taylor (ian@cygnus.com) + + * Makefile.in: always create installation directories. + Wed Aug 12 15:14:14 1992 Mark Eichin (eichin@cygnus.com) * Makefile.in: change ${MACHINE} to $(MACHINE). diff --git a/gprof/Makefile.in b/gprof/Makefile.in index 824a8fc422..caf20773fc 100644 --- a/gprof/Makefile.in +++ b/gprof/Makefile.in @@ -41,6 +41,12 @@ info: install-info: install: all + -parent=`echo $(man1dir)|sed -e 's@/[^/]*$$@@'`; \ + if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi + -if [ -d $(man1dir) ] ; then true ; else mkdir $(man1dir) ; fi + -parent=`echo $(bindir)|sed -e 's@/[^/]*$$@@'`; \ + if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi + -if [ -d $(bindir) ] ; then true ; else mkdir $(bindir) ; fi $(INSTALL_PROGRAM) $(PROG) $(bindir) $(INSTALL_DATA) $(srcdir)/gprof.1 $(man1dir)/gprof.1