Permalink
Browse files

add target to install libR.so

git-svn-id: https://svn.r-project.org/R/trunk@34005 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information...
1 parent b6a6356 commit d8c40343db46b154d854fbbd5a9a6045f17d3bc7 ripley committed Apr 20, 2005
Showing with 8 additions and 0 deletions.
  1. +8 −0 Makefile.in
View
@@ -106,6 +106,13 @@ svnonly:
fi \
fi
+libR_la = lib/libR$(DYLIB_EXT)
+install-libR:
+ @if test -f $(libR_la); then $(MAKE) install-libR-exists; fi
+install-libR-exists:
+ @$(MKINSTALLDIRS) "${libdir}"
+ @$(INSTALL_DATA) $(libR_la) "${libdir}"
+
installdirs:
@$(MKINSTALLDIRS) "$(rhome)"
install-strip:
@@ -119,6 +126,7 @@ uninstall:
@rm -rf "$(Rexecbindir)" "$(Rexeclibdir)"
@rmdir "$(rhome)" 2>/dev/null \
|| echo " dir $(rhome) not removed"
+ @rm -f "${libdir}/libR$(DYLIB_EXT)"
mostlyclean: clean
clean:

0 comments on commit d8c4034

Please sign in to comment.