aboutsummaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
Diffstat (limited to 'gprof')
-rw-r--r--gprof/ChangeLog4
-rw-r--r--gprof/Makefile.in6
2 files changed, 10 insertions, 0 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index b884ed8..c84cf69 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 824a8fc..caf2077 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