summaryrefslogtreecommitdiff
path: root/usr.bin/less/Makefile.in
diff options
context:
space:
mode:
authoretheisen <etheisen@cvs.openbsd.org>1996-09-21 05:55:36 +0000
committeretheisen <etheisen@cvs.openbsd.org>1996-09-21 05:55:36 +0000
commit5b2dc2545f95d91daf78365b3c049b1e3f8aa819 (patch)
tree2fe198e7d32cab9b165bfcf61f3ad5d853228939 /usr.bin/less/Makefile.in
parent47d3895c0565680e9e7eba725be0896bfd06ce11 (diff)
Build less-290 using wrappers.
Diffstat (limited to 'usr.bin/less/Makefile.in')
-rw-r--r--usr.bin/less/Makefile.in15
1 files changed, 12 insertions, 3 deletions
diff --git a/usr.bin/less/Makefile.in b/usr.bin/less/Makefile.in
index 9c15e7858dc..f43a303d975 100644
--- a/usr.bin/less/Makefile.in
+++ b/usr.bin/less/Makefile.in
@@ -10,6 +10,13 @@ INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
+#
+# XXX - OpenBSD modificatations
+#
+INSTALL_MAN=install_man
+MANPAGES=less.nro lesskey.nro
+INSTALLDIRS=installdirs
+
CFLAGS = @CFLAGS@
CFLAGS_COMPILE_ONLY = -c
LDFLAGS = @LDFLAGS@
@@ -74,16 +81,18 @@ ${OBJ}: less.h defines.h funcs.h
filename.${O}: filename.c
${CC} -c -DHELPFILE=\"${datadir}/less.hlp\" -I. ${CPPFLAGS} ${CFLAGS} ${srcdir}/filename.c
-install: all less.hlp less.nro installdirs
+install: all less.hlp $(INSTALL_MAN) $(INSTALLDIRS)
${INSTALL_PROGRAM} less ${bindir}/${binprefix}less
${INSTALL_PROGRAM} lesskey ${bindir}/${binprefix}lesskey
${INSTALL_DATA} ${srcdir}/less.hlp ${datadir}/less.hlp
- ${INSTALL_DATA} ${srcdir}/less.nro ${mandir}/${manprefix}less.${manext}
- ${INSTALL_DATA} ${srcdir}/lesskey.nro ${mandir}/${manprefix}lesskey.${manext}
installdirs: mkinstalldirs
${srcdir}/mkinstalldirs ${bindir} ${datadir} ${mandir}
+install_man: ${MANPAGES}
+ ${INSTALL_DATA} ${srcdir}/less.nro ${mandir}/${manprefix}less.${manext}
+ ${INSTALL_DATA} ${srcdir}/lesskey.nro ${mandir}/${manprefix}lesskey.${manext}
+
uninstall:
rm -f ${bindir}/${binprefix}less ${bindir}/${binprefix}lesskey
rm -f ${datadir}/less.hlp