mirror of
https://github.com/GnoConsortium/gno.git
synced 2025-01-17 16:30:33 +00:00
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:
parent
3424f81f7c
commit
d08a55f17e
@ -1,13 +1,13 @@
|
|||||||
#
|
#
|
||||||
# This makefile is intended for use with dmake(1) on Apple IIGS
|
# 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
|
# Created by Dave Tribby, December 1997
|
||||||
|
|
||||||
PROG= cksum
|
PROG= cksum
|
||||||
SRCS= cksum.c crc.c print.c sum1.c sum2.c crc32.c
|
SRCS= cksum.c crc.c print.c sum1.c sum2.c crc32.c
|
||||||
|
BINDIR= /usr/bin
|
||||||
|
|
||||||
CFLAGS = -v
|
|
||||||
.INCLUDE : /src/gno/prog.mk
|
.INCLUDE : /src/gno/prog.mk
|
||||||
|
|
||||||
# Under UNIX, chsum whould be linked to sum (and cksum.1 to sum.1)
|
# Under UNIX, chsum whould be linked to sum (and cksum.1 to sum.1)
|
||||||
|
@ -33,11 +33,12 @@
|
|||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" @(#)cksum.1 8.2 (Berkeley) 4/28/95
|
.\" @(#)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"
|
.TH CKSUM 1 "December 1997" "GNO" "Commands and Applications"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
.BR cksum
|
.BR cksum ,
|
||||||
|
.BR sum
|
||||||
\- display file checksums and block counts
|
\- display file checksums and block counts
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.BR cksum
|
.BR cksum
|
||||||
|
@ -1,11 +1,13 @@
|
|||||||
/*
|
/*
|
||||||
* Resources for version and comment
|
* 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 PROG "cksum/sum"
|
||||||
#define DESC "Display file checksums and block counts"
|
#define DESC "Display file checksums and block counts."
|
||||||
|
|
||||||
#include "Types.rez"
|
#include "Types.rez"
|
||||||
|
#include "/src/gno/build.tools/builddate.rez"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Version
|
* Version
|
||||||
@ -16,7 +18,8 @@ resource rVersion (1, purgeable3) {
|
|||||||
0 }, /* non-final release number */
|
0 }, /* non-final release number */
|
||||||
verUS, /* Country */
|
verUS, /* Country */
|
||||||
PROG, /* Program name */
|
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
|
* Comment
|
||||||
*/
|
*/
|
||||||
resource rComment (1, purgeable3) {
|
resource rComment (1, purgeable3) {
|
||||||
PROG " v2.0 (December 1997)\n"
|
PROG " v2.0\n"
|
||||||
"GNO utility: " DESC "\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
9
usr.bin/cksum/mklink.data
Executable 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
9
usr.bin/cksum/mkso.data
Executable 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
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user