blob: 82bf6c69a76104c8b9ffea2b8720268ab0e86ddf (
plain) (
blame)
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
|
--- Makefile.common.orig Tue May 26 22:09:43 1998
+++ Makefile.common Wed Jun 10 15:00:13 1998
@@ -2,8 +2,8 @@
# modify starting here
-INSTALL_BIN = /usr/local/bin
-INSTALL_DOC = /usr/local/doc/xgfe-$(VERSION)
+INSTALL_BIN = $(PREFIX)/bin
+INSTALL_DOC = $(DOCSDIR)
STATIC_TARGET = xgfe-static
# end modifications
@@ -15,10 +15,11 @@
strip $(STATIC_TARGET)
install:
- cp $(TARGET) $(INSTALL_BIN)
+ $(BSD_INSTALL_PROGRAM) $(TARGET) $(INSTALL_BIN)
+.if !defined(NOPORTDOCS)
mkdir -p $(INSTALL_DOC)
- cp ../doc/* $(INSTALL_DOC)/
- strip $(INSTALL_BIN)/$(TARGET)
+ $(BSD_INSTALL_DATA) ../doc/* $(INSTALL_DOC)/
+.endif
uninstall:
rm $(INSTALL_BIN)$(TARGET)
|