blob: 072478ce2d838e1a606ed0c86f543c6d51bcbe6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
--- Makefile.orig Thu Feb 26 04:03:26 1998
+++ Makefile Fri May 8 15:56:29 1998
@@ -25,24 +25,27 @@
@(cd DEMOS; make)
install:
- cp FORMS/$(FORMLIB) $(LIB_DIR);chmod $(LIBMODE) $(LIB_DIR)/$(FORMLIB)
- cp DESIGN/fdesign $(BIN_DIR); chmod $(BINMODE) $(BIN_DIR)/fdesign
- cp fd2ps/fd2ps $(BIN_DIR); chmod $(BINMODE) $(BIN_DIR)/fd2ps
+ ${BSD_INSTALL_DATA} FORMS/$(FORMLIB) $(LIB_DIR)
+ $(RANLIB) $(LIB_DIR)/$(FORMLIB)
+ if [ "$(STATIC_NAME)" != "" ]; then\
+ $(LN) $(LIB_DIR)/$(FORMLIB) $(LIB_DIR)/$(STATIC_NAME);\
+ fi
+ ${BSD_INSTALL_PROGRAM} DESIGN/fdesign $(BIN_DIR)
+ ${BSD_INSTALL_PROGRAM} fd2ps/fd2ps $(BIN_DIR)
-@if [ "$(SHARED_LIB)" != "" ]; then\
- cp FORMS/$(SHARED_LIB) $(LIB_DIR); \
- chmod $(LIBMODE) $(LIB_DIR)/$(SHARED_LIB);\
+ ${BSD_INSTALL_DATA} FORMS/$(SHARED_LIB) $(LIB_DIR); \
if [ "$(SHARED_NAME)" != "" ]; then\
$(LN) $(LIB_DIR)/$(SHARED_LIB) $(LIB_DIR)/$(SHARED_NAME);\
fi \
fi
- cp FORMS/$(FORMHEADER) $(HEADER_DIR);\
- chmod $(HEADERMODE) $(HEADER_DIR)/$(FORMHEADER)
- cp FORMS/xforms.5 $(MAN5_DIR); chmod $(MANMODE) $(MAN5_DIR)/xforms.5
- cp DESIGN/fdesign.1 $(MAN1_DIR); chmod $(MANMODE) $(MAN1_DIR)/fdesign.1
- cp fd2ps/fd2ps.1 $(MAN1_DIR); chmod $(MANMODE) $(MAN1_DIR)/fd2ps.1
+ ${BSD_INSTALL_DATA} FORMS/$(FORMHEADER) $(HEADER_DIR)
+ ${BSD_INSTALL_MAN} FORMS/xforms.5 $(MAN5_DIR)
+ ${BSD_INSTALL_MAN} DESIGN/fdesign.1 $(MAN1_DIR)
+ ${BSD_INSTALL_MAN} fd2ps/fd2ps.1 $(MAN1_DIR)
@if [ ! -f $(MAN5_DIR)/forms.5 ]; then\
- ln -s $(MAN5_DIR)/xforms.5 $(MAN5_DIR)/forms.5;\
+ $(LN) $(MAN5_DIR)/xforms.5 $(MAN5_DIR)/forms.5;\
fi
+
clean:
(cd DEMOS; make $@)
empty:
|