Brought forward from p3:
Sun Aug 30 21:24:46 1992 Ian Lance Taylor (ian@cygnus.com) * Makefile.in: map "as" through program_transform_name when installing.
This commit is contained in:
parent
3790af1d33
commit
7e10f53ccf
3 changed files with 20 additions and 12 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Sun Aug 30 21:24:46 1992 Ian Lance Taylor (ian@cygnus.com)
|
||||||
|
|
||||||
|
* Makefile.in: map "as" through program_transform_name when
|
||||||
|
installing.
|
||||||
|
|
||||||
Sat Aug 29 12:11:12 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
|
Sat Aug 29 12:11:12 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
|
||||||
|
|
||||||
* Makefile.in (as.new): Depend on LOCAL_LOADLIBES.
|
* Makefile.in (as.new): Depend on LOCAL_LOADLIBES.
|
||||||
|
|
|
@ -28,8 +28,7 @@ srcdir = .
|
||||||
|
|
||||||
prefix = /usr/local
|
prefix = /usr/local
|
||||||
|
|
||||||
program_prefix =
|
program_transform_name =
|
||||||
program_suffix =
|
|
||||||
exec_prefix = $(prefix)
|
exec_prefix = $(prefix)
|
||||||
bindir = $(exec_prefix)/bin
|
bindir = $(exec_prefix)/bin
|
||||||
libdir = $(exec_prefix)/lib
|
libdir = $(exec_prefix)/lib
|
||||||
|
@ -356,19 +355,18 @@ install:
|
||||||
-parent=`echo $(man1dir)|sed -e 's@/[^/]*$$@@'`; \
|
-parent=`echo $(man1dir)|sed -e 's@/[^/]*$$@@'`; \
|
||||||
if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
|
if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
|
||||||
-if [ -d $(man1dir) ] ; then true ; else mkdir $(man1dir) ; fi
|
-if [ -d $(man1dir) ] ; then true ; else mkdir $(man1dir) ; fi
|
||||||
-rm -f $(bindir)/$(program_prefix)as$(program_suffix)
|
-n=`t='$(program_transform_name)'; echo as | sed -e "" $$t`; \
|
||||||
$(INSTALL_PROGRAM) as.new $(bindir)/$(program_prefix)as$(program_suffix)
|
rm -f $(bindir)/$$n; \
|
||||||
-rm -f $(tooldir)/as
|
$(INSTALL_PROGRAM) as.new $(bindir)/$$n; \
|
||||||
ln $(bindir)/$(program_prefix)as$(program_suffix) $(tooldir)/as
|
rm -f $(tooldir)/as; \
|
||||||
-rm -f $(man1dir)/$(program_prefix)as$(program_suffix).1
|
ln $(bindir)/$$n $(tooldir)/as || cp $(bindir)/$$n $(tooldir)/as; \
|
||||||
$(INSTALL_DATA) $(srcdir)/doc/as.1 $(man1dir)/$(program_prefix)as$(program_suffix).1
|
$(INSTALL_DATA) $(srcdir)/doc/as.1 $(man1dir)/$$n.1
|
||||||
|
|
||||||
# Cancel installation by deleting the installed files.
|
# Cancel installation by deleting the installed files.
|
||||||
uninstall:
|
uninstall:
|
||||||
-rm -rf $(libsubdir)
|
-n=`t='$(program_transform_name)'; echo as | sed -e "" $$t`; \
|
||||||
-rm -rf $(bindir)/as
|
rm -f $(bindir)/$$n; \
|
||||||
-rm -rf $(mandir)/gas.$(manext)
|
rm -f $(mandir)/$$n.1
|
||||||
|
|
||||||
|
|
||||||
# These exist for maintenance purposes.
|
# These exist for maintenance purposes.
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
Sun Aug 30 21:26:05 1992 Ian Lance Taylor (ian@cygnus.com)
|
||||||
|
|
||||||
|
* Makefile.in: map "as" through program_transform_name when
|
||||||
|
installing.
|
||||||
|
|
||||||
Tue Aug 18 14:19:01 1992 Ian Lance Taylor (ian@cygnus.com)
|
Tue Aug 18 14:19:01 1992 Ian Lance Taylor (ian@cygnus.com)
|
||||||
|
|
||||||
* Makefile.in: always create installation directories.
|
* Makefile.in: always create installation directories.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue