diff options
author | Ian Lance Taylor <ian@airs.com> | 1992-08-18 20:34:26 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1992-08-18 20:34:26 +0000 |
commit | f478fcf663054c7059b0e5ee490d2ecbf398221d (patch) | |
tree | 3e8b2813dfc6032ae89a7bea3473d9a99c20d47d /binutils/Makefile.in | |
parent | 967d40ca76bb03a50621314468ba9f6eeed6f998 (diff) | |
download | gdb-f478fcf663054c7059b0e5ee490d2ecbf398221d.zip gdb-f478fcf663054c7059b0e5ee490d2ecbf398221d.tar.gz gdb-f478fcf663054c7059b0e5ee490d2ecbf398221d.tar.bz2 |
Moved in from p3:
Tue Aug 18 13:28:44 1992 Ian Lance Taylor (ian@cygnus.com)
* config/mh-apollo68v: removed -g from CC definition.
* Makefile.in: always create installation directories.
Diffstat (limited to 'binutils/Makefile.in')
-rw-r--r-- | binutils/Makefile.in | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/binutils/Makefile.in b/binutils/Makefile.in index 6177d5a..08b1c64 100644 --- a/binutils/Makefile.in +++ b/binutils/Makefile.in @@ -17,13 +17,12 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -#$Id$ - srcdir = . prefix = /usr/local program_prefix = +program_suffix = exec_prefix = $(prefix) bindir = $(exec_prefix)/bin libdir = $(exec_prefix)/lib @@ -312,14 +311,23 @@ realclean: clean -rm -f $(STAGESTUFF) TAGS install: all + -parent=`echo $(bindir)|sed -e 's@/[^/]*$$@@'`; \ + if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi + -if [ -d $(bindir) ] ; then true ; else mkdir $(bindir) ; fi for i in $(PROGS) ; do \ - $(INSTALL_PROGRAM) $$i $(bindir)/$(program_prefix)$$i ; \ + $(INSTALL_PROGRAM) $$i $(bindir)/$(program_prefix)$${i}$(program_suffix) ; \ done + -parent=`echo $(man1dir)|sed -e 's@/[^/]*$$@@'`; \ + if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi + -if [ -d $(man1dir) ] ; then true ; else mkdir $(man1dir) ; fi for i in $(MANPAGES) ; do \ - $(INSTALL_DATA) $(srcdir)/$$i $(man1dir)/$(program_prefix)$$i ; \ + $(INSTALL_DATA) $(srcdir)/$$i $(man1dir)/$(program_prefix)$${i}$(program_suffix) ; \ done install-info: info + -parent=`echo $(infodir)|sed -e 's@/[^/]*$$@@'`; \ + if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi + -if [ -d $(infodir) ] ; then true ; else mkdir $(infodir) ; fi for i in *.info* ; do \ $(INSTALL_DATA) $$i $(infodir)/$$i ; \ done |