3a1c57a475
- fix warnings - improve installation
19 lines
671 B
Plaintext
19 lines
671 B
Plaintext
$OpenBSD: patch-ab,v 1.2 2001/02/27 22:32:26 naddy Exp $
|
|
--- Makefile.orig Tue Feb 27 23:14:13 2001
|
|
+++ Makefile Tue Feb 27 23:17:01 2001
|
|
@@ -3,8 +3,11 @@ all: mmv mmv.1
|
|
mmv: mmv.c
|
|
$(CC) -o mmv $(CFLAGS) mmv.c
|
|
install: all
|
|
- @echo "Install mmv according to local convention,"
|
|
- @echo "then make links named mcp, mad, and mln to mmv."
|
|
- @echo "Under System V, edit mmv.1 to uncomment the .nr O 1 line."
|
|
+ ${BSD_INSTALL_PROGRAM} mmv ${PREFIX}/bin ; \
|
|
+ ln -fs mmv ${PREFIX}/bin/mad ; \
|
|
+ ln -fs mmv ${PREFIX}/bin/mcp ; \
|
|
+ ln -fs mmv ${PREFIX}/bin/mln ; \
|
|
+ ${BSD_INSTALL_MAN} mmv.1 ${PREFIX}/man/man1
|
|
+
|
|
clean:
|
|
rm -f core a.out mmv mmv.o
|