2000-01-14 17:35:24 +00:00
|
|
|
--- cf/install.in.orig Wed Jun 7 03:13:09 1995
|
|
|
|
+++ cf/install.in Wed Jan 5 02:26:56 2000
|
|
|
|
@@ -31,19 +31,18 @@
|
1997-10-06 08:18:49 +00:00
|
|
|
-if test ! -d $(DOC_DIR); then mkdir -p $(DOC_DIR); fi
|
|
|
|
-if test ! -d $(BIN_DIR); then mkdir -p $(BIN_DIR); fi
|
|
|
|
-if test ! -d $(INFO_DIR); then mkdir -p $(INFO_DIR); fi
|
|
|
|
- -cd $(top_srcdir)/lib; cp *.fnt *.map $(LIB_DIR)
|
2000-01-14 17:35:24 +00:00
|
|
|
- -cp $(PLLIB_BASE)* $(LIB_DIR); \
|
1997-10-06 08:18:49 +00:00
|
|
|
- for file in $(PLLIB_BASE)*; do $(RANLIB) $(LIB_DIR)/$$file; done
|
2000-01-14 17:35:24 +00:00
|
|
|
+ -if test ! -d $(DATA_DIR); then mkdir -p $(DATA_DIR); fi
|
|
|
|
+ -cd $(top_srcdir)/lib; ${BSD_INSTALL_DATA} *.fnt *.map $(DATA_DIR)
|
|
|
|
+ ${BSD_INSTALL_DATA} $(PLLIB_BASE)* $(LIB_DIR); \
|
1997-10-06 08:18:49 +00:00
|
|
|
+ for file in $(PLLIB_BASE)*.a; do $(RANLIB) $(LIB_DIR)/$$file; done
|
|
|
|
-cd $(top_srcdir); \
|
|
|
|
- cp README NEWS CHANGES Copyright COPYING.LIB FAQ ToDo \
|
2000-01-14 17:35:24 +00:00
|
|
|
- mklinks $(DOC_DIR)
|
|
|
|
+ ${BSD_INSTALL_DATA} README NEWS CHANGES FAQ ToDo mklinks $(DOC_DIR)
|
1997-10-06 08:18:49 +00:00
|
|
|
-if test ! -f $(DOC_DIR)/README.local; then \
|
2000-01-14 17:35:24 +00:00
|
|
|
- cp $(top_srcdir)/doc/README.local $(DOC_DIR); fi
|
|
|
|
- -cp $(top_srcdir)/doc/*.info $(INFO_DIR)
|
|
|
|
- -cd $(top_srcdir)/scripts; cp pl* $(BIN_DIR)
|
|
|
|
+ ${BSD_INSTALL_DATA} $(top_srcdir)/doc/README.local $(DOC_DIR); fi
|
|
|
|
+ -cd $(top_srcdir)/scripts; ${BSD_INSTALL_SCRIPT} pl* $(BIN_DIR)
|
|
|
|
-cd $(top_srcdir)/include; \
|
|
|
|
- cp plplotP.h plplot.h plxwd.h plevent.h plstrm.h pdf.h \
|
|
|
|
- $(INCLUDE_DIR)
|
|
|
|
+ ${BSD_INSTALL_DATA} plplotP.h plplot.h plxwd.h plevent.h plstrm.h \
|
|
|
|
+ pdf.h $(INCLUDE_DIR)
|
|
|
|
|
|
|
|
install_demos:
|
|
|
|
-if test ! -d $(DEMOS_DIR); then mkdir -p $(DEMOS_DIR); fi
|
|
|
|
@@ -56,11 +55,11 @@
|
|
|
|
-$(LN) $(DEMOS_DIR)/Makefile $(DEMOS_DIR)/c
|
|
|
|
-$(LN) $(DEMOS_DIR)/Makefile $(DEMOS_DIR)/f77
|
|
|
|
-$(LN) $(DEMOS_DIR)/Makefile $(DEMOS_DIR)/tk
|
|
|
|
- -cd $(top_srcdir)/examples/c; cp * $(DEMOS_DIR)/c
|
|
|
|
- -cd $(top_srcdir)/examples/f77; cp * $(DEMOS_DIR)/f77
|
|
|
|
- -cd $(top_srcdir)/examples/python; cp * $(DEMOS_DIR)/python
|
|
|
|
- -cd $(top_srcdir)/examples/tcl; cp * $(DEMOS_DIR)/tcl
|
|
|
|
- -cd $(top_srcdir)/examples/tk; cp * $(DEMOS_DIR)/tk
|
|
|
|
+ -cd $(top_srcdir)/examples/c; ${BSD_INSTALL_DATA} * $(DEMOS_DIR)/c
|
|
|
|
+ -cd $(top_srcdir)/examples/f77; ${BSD_INSTALL_DATA} * $(DEMOS_DIR)/f77
|
|
|
|
+ -cd $(top_srcdir)/examples/python; ${BSD_INSTALL_DATA} * $(DEMOS_DIR)/python
|
|
|
|
+ -cd $(top_srcdir)/examples/tcl; ${BSD_INSTALL_DATA} * $(DEMOS_DIR)/tcl
|
|
|
|
+ -cd $(top_srcdir)/examples/tk; ${BSD_INSTALL_DATA} * $(DEMOS_DIR)/tk
|
|
|
|
-$(LN) $(DEMOS_DIR)/tcl/x??.tcl $(DEMOS_DIR)/tk
|
|
|
|
|
|
|
|
install_utils:
|
|
|
|
@@ -72,8 +71,7 @@
|
|
|
|
$(LDC) $(LDC_FLAGS) pltek$O $(LIB_INSTALL) \
|
|
|
|
-o pltek$E; \
|
|
|
|
fi
|
|
|
|
- -strip plrender$E pltek$E
|
|
|
|
- -cp plrender$E pltek$E $(BIN_DIR)
|
|
|
|
+ ${BSD_INSTALL_PROGRAM} plrender$E pltek$E $(BIN_DIR)
|
|
|
|
|
|
|
|
# Remember, this is bogus...
|
|
|
|
# $(LDC) $(LDC_FLAGS) pltek$O $(LIB_INSTALL) \
|