mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
63 lines
2.1 KiB
Plaintext
63 lines
2.1 KiB
Plaintext
--- Makefile.orig Mon Feb 24 15:15:42 1992
|
|
+++ Makefile Tue Apr 13 18:24:18 1999
|
|
@@ -31,15 +31,15 @@
|
|
# INSTALL_HELP is a list of the public version of the help file.
|
|
# INSTALL_LESSMAN is a list of the public versions of the less manual page.
|
|
# INSTALL_KEYMAN is a list of the public versions of the lesskey manual page.
|
|
-ROOT = ../../VN
|
|
+ROOT = ${PREFIX}
|
|
INSTALL_LESS = $(ROOT)/bin/vnless
|
|
-INSTALL_KEY = $(ROOT)/bin/lesskey
|
|
-INSTALL_HELP = $(ROOT)/man/less.help
|
|
-INSTALL_LESSMAN = $(ROOT)/man/vnless.1
|
|
-INSTALL_KEYMAN = $(ROOT)/man/lesskey.1
|
|
+INSTALL_KEY = $(ROOT)/bin/vnlesskey
|
|
+INSTALL_HELP = $(ROOT)/share/misc/vnless.help
|
|
+INSTALL_LESSMAN = $(ROOT)/man/man1/vnless.1
|
|
+INSTALL_KEYMAN = $(ROOT)/man/man1/vnlesskey.1
|
|
LESS_MANUAL = less.man
|
|
KEY_MANUAL = lesskey.man
|
|
-HELPFILE = $(ROOT)/man/less.help
|
|
+HELPFILE = $(ROOT)/share/misc/vnless.help
|
|
|
|
|
|
# OPTIM is passed to the compiler and the loader.
|
|
@@ -49,6 +49,7 @@
|
|
#CFLAGS = $(OPTIM)
|
|
CFLAGS = -O
|
|
LDFLAGS =
|
|
+LDLIBS = -lcompat
|
|
|
|
|
|
##########################################################################
|
|
@@ -82,24 +83,19 @@
|
|
$(CC) $(CFLAGS) -c -DHELPFILE=\"$(HELPFILE)\" help.c
|
|
|
|
install_less: vnless
|
|
- for f in $(INSTALL_LESS); do rm -f $$f; cp vnless $$f; done
|
|
- touch install_less
|
|
+ @for f in $(INSTALL_LESS); do rm -f $$f; cp vnless $$f; done
|
|
|
|
install_key: lesskey
|
|
- for f in $(INSTALL_KEY); do rm -f $$f; cp lesskey $$f; done
|
|
- touch install_key
|
|
+ @for f in $(INSTALL_KEY); do rm -f $$f; cp lesskey $$f; done
|
|
|
|
install_help: less.help
|
|
- for f in $(INSTALL_HELP); do rm -f $$f; cp less.help $$f; done
|
|
- touch install_help
|
|
+ @for f in $(INSTALL_HELP); do rm -f $$f; cp less.help $$f; done
|
|
|
|
install_lman: $(LESS_MANUAL)
|
|
- for f in $(INSTALL_LESSMAN); do rm -f $$f; cp $(LESS_MANUAL) $$f; done
|
|
- touch install_lman
|
|
+ @for f in $(INSTALL_LESSMAN); do rm -f $$f; cp $(LESS_MANUAL) $$f; done
|
|
|
|
install_kman: $(KEY_MANUAL)
|
|
- for f in $(INSTALL_KEYMAN); do rm -f $$f; cp $(KEY_MANUAL) $$f; done
|
|
- touch install_kman
|
|
+ @for f in $(INSTALL_KEYMAN); do rm -f $$f; cp $(KEY_MANUAL) $$f; done
|
|
|
|
##########################################################################
|
|
# Maintenance
|