Revert part of previous [remove cd to objdir] and bump the crunchdate.

Make has been fixed. The cd was in the wrong place anyway, it should
immediately follow ${MAKE}, so it did not work as expected.
This commit is contained in:
christos 2005-01-31 23:48:38 +00:00
parent c9234f1972
commit 36eef77064

View File

@ -1,4 +1,4 @@
/* $NetBSD: crunchgen.c,v 1.65 2005/01/30 23:04:33 lukem Exp $ */
/* $NetBSD: crunchgen.c,v 1.66 2005/01/31 23:48:38 christos Exp $ */
/*
* Copyright (c) 1994 University of Maryland
* All Rights Reserved.
@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#if !defined(lint)
__RCSID("$NetBSD: crunchgen.c,v 1.65 2005/01/30 23:04:33 lukem Exp $");
__RCSID("$NetBSD: crunchgen.c,v 1.66 2005/01/31 23:48:38 christos Exp $");
#endif
#include <stdlib.h>
@ -52,7 +52,7 @@ __RCSID("$NetBSD: crunchgen.c,v 1.65 2005/01/30 23:04:33 lukem Exp $");
#include <sys/param.h>
#include <sys/utsname.h>
#define CRUNCH_VERSION "20050130"
#define CRUNCH_VERSION "20050131"
#define MAXLINELEN 16384
#define MAXFIELDS 2048
@ -953,7 +953,6 @@ top_makefile_rules(FILE *outmk)
fprintf(outmk, "\t${MAKE} -f ${PROG}.mk ${PROG}\n");
fprintf(outmk, "\t@[ -f ${PROG}.unstripped -a ! ${PROG} -nt ${PROG}.unstripped ] || { \\\n");
fprintf(outmk, "\t\t${_MKSHMSG:Uecho} \" strip \" ${PROG}; \\\n");
fprintf(outmk, "\t\tcd ${.OBJDIR} && \\\n");
fprintf(outmk, "\t\tcp ${PROG} ${PROG}.unstripped && \\\n");
fprintf(outmk, "\t\t${OBJCOPY} -S -R .note -R .ident -R .comment -R .copyright ${PROG} && \\\n");
fprintf(outmk, "\t\ttouch ${PROG}.unstripped; \\\n");