patch-Makefile 680 B

12345678910111213141516171819
  1. $OpenBSD: patch-Makefile,v 1.1 2002/12/23 19:11:48 pvalchev Exp $
  2. --- Makefile.orig Mon Dec 23 14:09:24 2002
  3. +++ Makefile Mon Dec 23 14:09:24 2002
  4. @@ -3,8 +3,11 @@ all: mmv mmv.1
  5. mmv: mmv.c
  6. $(CC) -o mmv $(CFLAGS) mmv.c
  7. install: all
  8. - @echo "Install mmv according to local convention,"
  9. - @echo "then make links named mcp, mad, and mln to mmv."
  10. - @echo "Under System V, edit mmv.1 to uncomment the .nr O 1 line."
  11. + ${BSD_INSTALL_PROGRAM} mmv ${PREFIX}/bin ; \
  12. + ln -fs mmv ${PREFIX}/bin/mad ; \
  13. + ln -fs mmv ${PREFIX}/bin/mcp ; \
  14. + ln -fs mmv ${PREFIX}/bin/mln ; \
  15. + ${BSD_INSTALL_MAN} mmv.1 ${PREFIX}/man/man1
  16. +
  17. clean:
  18. rm -f core a.out mmv mmv.o