blob: d932e7604c389c3e1cf46d0b01cc3ac5b4e46d1c (
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
|
$NetBSD: patch-ab,v 1.1 2005/08/05 12:14:51 salo Exp $
--- gopher/Makefile.in.orig 2005-07-20 17:28:52.000000000 +0200
+++ gopher/Makefile.in 2005-08-05 14:01:36.000000000 +0200
@@ -152,14 +152,12 @@
$(CC) $(LDFLAGS) -o $@ $(OBJS) ../object/libgopher.a @CLIENTLIBS@ @REGEXLIBS@ @LIBS@
install : all
- -mv $(CLIENTDIR)/$(TARGET) $(CLIENTDIR)/$(TARGET).old
- -mkdir $(CLIENTDIR)
- -mkdir $(CLIENTLIB)
- @INSTALL@ $(TARGET) $(CLIENTDIR)
- @INSTALL@ -d $(CLIENTLIB)
- @INSTALL@ gopher.rc $(CLIENTLIB)
- @INSTALL@ gopherremote.rc $(CLIENTLIB)
- @INSTALL@ gopher.hlp $(CLIENTLIB)
+ $(BSD_INSTALL_PROGRAM_DIR) $(CLIENTDIR)
+ $(BSD_INSTALL_PROGRAM) $(TARGET) $(CLIENTDIR)/
+ $(BSD_INSTALL_DATA_DIR) $(EGDIR)/
+ $(BSD_INSTALL_DATA) gopher.rc $(EGDIR)/
+ $(BSD_INSTALL_DATA) gopherremote.rc $(EGDIR)/
+ $(BSD_INSTALL_DATA) gopher.hlp $(EGDIR)/
clean:
-rm -f $(TARGET) $(OBJS) *.out *~ core
|