diff options
author | Ian Lance Taylor <ian@airs.com> | 1992-08-19 21:38:00 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1992-08-19 21:38:00 +0000 |
commit | 3c9c3ce3394e6ff9be9cdb821c3be489e5dc1f3b (patch) | |
tree | 4fd7d049cf2d248eee7aeebba5b707eb1a329fb6 /gprof | |
parent | cb70c87297fb611cd496d88a75d2e07eb9609cce (diff) | |
download | gdb-3c9c3ce3394e6ff9be9cdb821c3be489e5dc1f3b.zip gdb-3c9c3ce3394e6ff9be9cdb821c3be489e5dc1f3b.tar.gz gdb-3c9c3ce3394e6ff9be9cdb821c3be489e5dc1f3b.tar.bz2 |
Brought forward from p3:
Wed Aug 19 14:36:39 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in: always create installation directories.
Diffstat (limited to 'gprof')
-rw-r--r-- | gprof/ChangeLog | 4 | ||||
-rw-r--r-- | gprof/Makefile.in | 6 |
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 |