From 2188b17ab9eece3b4e1774c93657fd52cb747c7d Mon Sep 17 00:00:00 2001 From: gdr-ftp Date: Sun, 15 Feb 1998 19:14:25 +0000 Subject: [PATCH] Makefile: - extract appending of the rez fork into a higher level *.mk file liby.rez: - add in the build date automatically --- lib/liby/Makefile | 6 +----- lib/liby/liby.rez | 7 +++++-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/lib/liby/Makefile b/lib/liby/Makefile index f801d44..721502d 100644 --- a/lib/liby/Makefile +++ b/lib/liby/Makefile @@ -1,7 +1,7 @@ # # This is the makefile for liby, GNO v2.0.6 # -# $Id: Makefile,v 1.3 1998/02/08 03:47:40 gdr-ftp Exp $ +# $Id: Makefile,v 1.4 1998/02/15 19:14:23 gdr-ftp Exp $ # LIB = y @@ -9,7 +9,3 @@ SRCS = main.c yyerror.c OPTIMIZE = 78 .INCLUDE: /src/gno/lib/lib.mk - -$(LIBTARGET):: lib$(LIB).r - $(CATREZ) -d $@ lib$(LIB).r - diff --git a/lib/liby/liby.rez b/lib/liby/liby.rez index 6bd758d..448564d 100644 --- a/lib/liby/liby.rez +++ b/lib/liby/liby.rez @@ -1,13 +1,14 @@ /* * Resources for version and comment * - * $Id: liby.rez,v 1.1 1997/10/03 04:45:43 gdr Exp $ + * $Id: liby.rez,v 1.2 1998/02/15 19:14:25 gdr-ftp Exp $ */ #define LIB "liby for GNO" -#define PORTED "Ported from 4.4BSD by Devin Reade." +#define PORTED "Ported from 4.4BSD by Devin Reade.\n" #include "Types.rez" +#include "/src/gno/build.tools/builddate.rez" /* * Version @@ -19,6 +20,7 @@ resource rVersion (1, purgeable3) { verUS, /* Country */ LIB, PORTED + BUILD_DATE }; /* @@ -27,4 +29,5 @@ resource rVersion (1, purgeable3) { resource rComment (1, purgeable3) { LIB "\n" PORTED + BUILD_DATE };