From 6197eeee1f4b1e56019fc38f1dad37f1d434c6a5 Mon Sep 17 00:00:00 2001 From: gdr Date: Sun, 11 Feb 1996 00:59:16 +0000 Subject: [PATCH] Added installation notes the README and an install target to the makefile. --- bin/test/README | 4 ++++ bin/test/makefile.mk | 8 +++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/bin/test/README b/bin/test/README index 8159765..aa226e7 100644 --- a/bin/test/README +++ b/bin/test/README @@ -5,6 +5,10 @@ GNU version. For those not familiar with it, read the man page. I admit that this has limited functionality with gsh, but it will become more useful when sh(1) comes out ... +For installation, either type 'dmake install', or copy the files + test to /bin + test.1 to /man/man1 + For copying info, see the legalese at the beginning of the file test.c, or the man page (you have to view the file directly rather than than via nroff(1) to see it). diff --git a/bin/test/makefile.mk b/bin/test/makefile.mk index 707eeba..083da41 100644 --- a/bin/test/makefile.mk +++ b/bin/test/makefile.mk @@ -1,7 +1,7 @@ # # This file is intended for use with dmake # -# $Id: makefile.mk,v 1.1 1996/02/10 08:27:30 gdr Exp $ +# $Id: makefile.mk,v 1.2 1996/02/11 00:59:16 gdr Exp $ # # VAFLAGS must use an optimization level of at least -O8, and no # -g or -G* flag @@ -19,6 +19,8 @@ LDFLAGS += -v LDLIBS = OBJS = test.o test2.o operators.o ROOTS = test.root test2.root operators.root +BINDIR = /bin +MANDIR = /man test: $(OBJS) test.r @purge @@ -46,6 +48,10 @@ clean: clobber: clean $(RM) -f test +install: + cp test $(BINDIR) + cp test.1 $(MANDIR)/man1 + # use this rule to if you update binary_ops, or unary_ops make_op: @echo "$(MAKE) make_op invoked"