--- cf/install.in.orig Tue Mar 27 10:01:46 2001 +++ cf/install.in Sat Apr 28 07:55:00 2001 @@ -32,28 +32,26 @@ install_demos: @-if test ! -d $(DEMOS_DIR); then mkdir -p $(DEMOS_DIR); fi; \ if test ! -d $(DEMOS_DIR)/c; then mkdir -p $(DEMOS_DIR)/c; fi; \ - $(CP) Makedemo $(DEMOS_DIR)/Makefile; \ - $(CP) ../test/test_*.sh plplot-test.sh $(DEMOS_DIR); \ + ${BSD_INSTALL_DATA} Makedemo $(DEMOS_DIR)/Makefile; \ + ${BSD_INSTALL_DATA} ../test/test_*.sh plplot-test.sh $(DEMOS_DIR); \ chmod a+x $(DEMOS_DIR)/plplot-test.sh; \ $(LN) ../Makefile $(DEMOS_DIR)/c; \ cd $(top_srcdir)/examples/c; \ - $(CP) *.c $(DEMOS_DIR)/c; \ - $(CP) *.h $(INCLUDE_DIR) + ${BSD_INSTALL_DATA} *.c $(DEMOS_DIR)/c; \ + ${BSD_INSTALL_DATA} *.h $(INCLUDE_DIR) install_plrender: @-if test $(SHARED) = 1; then \ $(LDC) $(LDC_FLAGS) plrender$O $(LIB_INSTALL) \ -o plrender$E $(LDC_LIBS) $(INSTALL_RPATH); \ fi; \ - strip plrender$E; \ - $(CP) plrender$E $(BIN_DIR) + ${BSD_INSTALL_PROGRAM} plrender$E $(BIN_DIR) install_pltek: - @-strip pltek$E; $(CP) pltek$E $(BIN_DIR) + @${BSD_INSTALL_PROGRAM} pltek$E $(BIN_DIR) install_plplot_config: - @$(CP) plplot-config $(BIN_DIR); \ - chmod a+x $(BIN_DIR)/plplot-config + @${BSD_INSTALL_SCRIPT} plplot-config $(BIN_DIR) install_utils: install_plrender install_pltek install_plplot_config