Makefile:

- put cksum in /usr/bin vice /bin

cksum.1:
	- added "sum" to the NAME section so that whatis(1) gets a hit

cksum.rez:
	- added (initial test) of automatically displaying the build
	  date.

mkso.data:
	- used for making man page ".so links"

mklink.data:
	- used to replicate cksum(1) as sum(1)
This commit is contained in:
gdr-ftp 1998-02-15 00:25:48 +00:00
parent 3424f81f7c
commit d08a55f17e
5 changed files with 32 additions and 9 deletions

View File

@ -1,13 +1,13 @@
#
# This makefile is intended for use with dmake(1) on Apple IIGS
# $Id: Makefile,v 1.1 1998/01/16 04:16:10 gdr Exp $
# $Id: Makefile,v 1.2 1998/02/15 00:25:42 gdr-ftp Exp $
#
# Created by Dave Tribby, December 1997
PROG= cksum
SRCS= cksum.c crc.c print.c sum1.c sum2.c crc32.c
BINDIR= /usr/bin
CFLAGS = -v
.INCLUDE : /src/gno/prog.mk
# Under UNIX, chsum whould be linked to sum (and cksum.1 to sum.1)

View File

@ -33,11 +33,12 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)cksum.1 8.2 (Berkeley) 4/28/95
.\" $Id: cksum.1,v 1.1 1998/01/16 04:16:10 gdr Exp $
.\" $Id: cksum.1,v 1.2 1998/02/15 00:25:44 gdr-ftp Exp $
.\"
.TH CKSUM 1 "December 1997" "GNO" "Commands and Applications"
.SH NAME
.BR cksum
.BR cksum ,
.BR sum
\- display file checksums and block counts
.SH SYNOPSIS
.BR cksum

View File

@ -1,11 +1,13 @@
/*
* Resources for version and comment
* $Id: cksum.rez,v 1.1 1998/01/16 04:16:11 gdr Exp $
*
* $Id: cksum.rez,v 1.2 1998/02/15 00:25:46 gdr-ftp Exp $
*/
#define PROG "cksum/sum"
#define DESC "Display file checksums and block counts"
#define DESC "Display file checksums and block counts."
#include "Types.rez"
#include "/src/gno/build.tools/builddate.rez"
/*
* Version
@ -16,7 +18,8 @@ resource rVersion (1, purgeable3) {
0 }, /* non-final release number */
verUS, /* Country */
PROG, /* Program name */
DESC " Released with GNO/ME."
DESC "\nReleased with GNO/ME.\n"
BUILD_DATE
};
@ -24,7 +27,8 @@ resource rVersion (1, purgeable3) {
* Comment
*/
resource rComment (1, purgeable3) {
PROG " v2.0 (December 1997)\n"
PROG " v2.0\n"
"GNO utility: " DESC "\n"
"Ported from FreeBSD code by Dave Tribby."
"Ported from FreeBSD code by Dave Tribby.\n"
BUILD_DATE
};

9
usr.bin/cksum/mklink.data Executable file
View File

@ -0,0 +1,9 @@
# 0
# 1 The first column is the "real" program; the second is what _should_
# 2 be the symlink, but for now is a copy.
# 3 All paths should be relative to the root directory. This list
# 4 should be kept sorted.
# 5
# 6 $Id: mklink.data,v 1.1 1998/02/15 00:25:47 gdr-ftp Exp $
# 7
usr/bin/cksum usr/bin/sum

9
usr.bin/cksum/mkso.data Executable file
View File

@ -0,0 +1,9 @@
# 0
# 1 The first column is the "real" man page; the second is the .so link.
# 2 All paths should be relative to the /usr/man directory. This list
# 3 should be kept sorted.
# 4
# 5 $Id: mkso.data,v 1.1 1998/02/15 00:25:48 gdr-ftp Exp $
# 6
man1/cksum.1 man1/sum.1