Brought forward from p3:

Wed Aug 19 14:36:39 1992  Ian Lance Taylor  (ian@cygnus.com)

	* Makefile.in: always create installation directories.
This commit is contained in:
Ian Lance Taylor 1992-08-19 21:38:00 +00:00
parent cb70c87297
commit 3c9c3ce339
2 changed files with 10 additions and 0 deletions

View File

@ -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).

View File

@ -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