--- cf/inst_lib.in.orig Sat Apr 21 10:49:12 2001 +++ cf/inst_lib.in Fri Aug 3 07:26:36 2001 @@ -16,30 +16,33 @@ if test ! -d $(INFO_DIR); then mkdir -p $(INFO_DIR); fi install_fonts: - @-cd $(top_srcdir)/lib; $(CP) *.fnt *.map $(DATA_DIR) + @-cd $(top_srcdir)/lib; ${BSD_INSTALL_DATA} *.fnt *.map $(DATA_DIR) install_libbase: @-( cd $(LIB_DIR); $(RM) $(PLLINKS) ) ; \ - $(CP) $(PLLIB_BASE)* $(LIB_DIR); \ + ${BSD_INSTALL_DATA} $(PLLIB_BASE)* $(LIB_DIR); \ if test -r $(PLLIB_BASE)$(LIB_TAG)$A; then \ $(RANLIB) $(LIB_DIR)/$(PLLIB_BASE)$(LIB_TAG)$A; \ + fi; \ + if test -f $(LIB_DIR)/$(PLLIB_SO); then \ + $(LN) $(PLLIB_SO) $(LIB_DIR)/$(PLLIB_BASE)$(LIB_TAG).so ; \ fi install_textfiles: @-cd $(top_srcdir); \ - $(CP) README NEWS CHANGES Copyright COPYING.LIB FAQ ToDo mklinks \ + ${BSD_INSTALL_DATA} README NEWS CHANGES Copyright COPYING.LIB FAQ ToDo mklinks \ $(DOC_DIR); \ if test ! -f $(DOC_DIR)/README.local; then \ - $(CP) $(top_srcdir)/doc/README.local $(DOC_DIR); \ + ${BSD_INSTALL_DATA} $(top_srcdir)/doc/README.local $(DOC_DIR); \ fi install_scriptfiles: - @-cd $(top_srcdir)/scripts; $(CP) pl* pstex2eps $(BIN_DIR) + @-cd $(top_srcdir)/scripts; ${BSD_INSTALL_SCRIPT} pl* pstex2eps $(BIN_DIR) install_includes: - @-$(CP) plConfig.h plDevs.h $(INCLUDE_DIR); \ + @-${BSD_INSTALL_DATA} plConfig.h plDevs.h $(INCLUDE_DIR); \ cd $(top_srcdir)/include; \ - $(CP) plplotP.h plplot.h plxwd.h plevent.h plstrm.h pdf.h \ + ${BSD_INSTALL_DATA} plplotP.h plplot.h plxwd.h plevent.h plstrm.h pdf.h \ pldebug.h drivers.h $(INCLUDE_DIR) install_lib: install_dirs install_fonts install_libbase \