Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-3]: src/x11/tools/pswrap Pull up revision 1.4 (requested by jmc i...



details:   https://anonhg.NetBSD.org/src/rev/5afd996687fd
branches:  netbsd-3
changeset: 575172:5afd996687fd
user:      tron <tron%NetBSD.org@localhost>
date:      Wed Apr 06 20:56:43 2005 +0000

description:
Pull up revision 1.4 (requested by jmc in ticket #114):
Revert previous; it's unnecessary in light of Christos' fix to
pswfile.c rev 1.2.  It also may have a  make -j  race.
Explicitly use  -f ${.TARGET:.c=.h}  in .psw.c; it can't hurt and
it mirrors what XFree86 does.

diffstat:

 x11/tools/pswrap/Makefile.pswrap |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r dee0293e2200 -r 5afd996687fd x11/tools/pswrap/Makefile.pswrap
--- a/x11/tools/pswrap/Makefile.pswrap  Wed Apr 06 20:55:53 2005 +0000
+++ b/x11/tools/pswrap/Makefile.pswrap  Wed Apr 06 20:56:43 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.pswrap,v 1.2.8.1 2005/04/06 20:55:53 tron Exp $
+#      $NetBSD: Makefile.pswrap,v 1.2.8.2 2005/04/06 20:56:43 tron Exp $
 
 .SUFFIXES: .psw .c .h
 
@@ -11,9 +11,9 @@
 .psw.c: ${PSWRAP}
        ${_MKTARGET_CREATE}
        rm -f ${.TARGET}
-       ${PSWRAP} -a -o ${.TARGET} -h ${.TARGET:.c=.h} ${.IMPSRC}
+       ${PSWRAP} -a -o ${.TARGET} -f ${.TARGET:.c=.h} ${.IMPSRC}
 
 .psw.h: ${PSWRAP}
        ${_MKTARGET_CREATE}
        rm -f ${.TARGET}
-       ${PSWRAP} -a -f ${.TARGET} -h ${.TARGET} ${.IMPSRC} >/dev/null
+       ${PSWRAP} -a -h ${.TARGET} ${.IMPSRC} >/dev/null



Home | Main Index | Thread Index | Old Index