1 --- readline-5.2/Makefile.in 2005-05-07 18:11:23.000000000 -0700
2 +++ solaris_nv/readline-5.2/Makefile.in 2007-11-01 03:18:19.344423000 -0700
5 install: $(INSTALL_TARGETS)
7 +# modification for solaris nv sfw-workspace nightly build
8 +# add a test before "$(MV) $(DESTDIR)$(libdir)/libreadline.a $(DESTDIR)$(libdir)/libreadline.old"
9 +# add a test before "$(MV) $(DESTDIR)$(libdir)/libhistory.a $(DESTDIR)$(libdir)/libhistory.old"
10 +# otherwise there will be an error if *.a doesn't exist
11 install-static: installdirs $(STATIC_LIBS) install-headers install-doc
12 - -$(MV) $(DESTDIR)$(libdir)/libreadline.a $(DESTDIR)$(libdir)/libreadline.old
13 + -( if test -f $(DESTDIR)$(libdir)/libreadline.a ; then \
14 + $(MV) $(DESTDIR)$(libdir)/libreadline.a $(DESTDIR)$(libdir)/libreadline.old ; \
16 $(INSTALL_DATA) libreadline.a $(DESTDIR)$(libdir)/libreadline.a
17 -test -n "$(RANLIB)" && $(RANLIB) $(DESTDIR)$(libdir)/libreadline.a
18 - -$(MV) $(DESTDIR)$(libdir)/libhistory.a $(DESTDIR)$(libdir)/libhistory.old
19 + -( if test -f $(DESTDIR)$(libdir)/libhistory.a ; then \
20 + $(MV) $(DESTDIR)$(libdir)/libhistory.a $(DESTDIR)$(libdir)/libhistory.old ; \
22 $(INSTALL_DATA) libhistory.a $(DESTDIR)$(libdir)/libhistory.a
23 -test -n "$(RANLIB)" && $(RANLIB) $(DESTDIR)$(libdir)/libhistory.a