Source-Changes-HG archive

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

[src/trunk]: src/lib/libterminfo Use $HOST_SH instead of calling directly.



details:   https://anonhg.NetBSD.org/src/rev/fb1b86d380e6
branches:  trunk
changeset: 751412:fb1b86d380e6
user:      roy <roy%NetBSD.org@localhost>
date:      Wed Feb 03 16:13:14 2010 +0000

description:
Use $HOST_SH instead of calling directly.

diffstat:

 lib/libterminfo/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r 35da34dfd682 -r fb1b86d380e6 lib/libterminfo/Makefile
--- a/lib/libterminfo/Makefile  Wed Feb 03 15:51:51 2010 +0000
+++ b/lib/libterminfo/Makefile  Wed Feb 03 16:13:14 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2010/02/03 15:16:32 roy Exp $
+#      $NetBSD: Makefile,v 1.2 2010/02/03 16:13:14 roy Exp $
 
 USE_SHLIBDIR=  yes
 
@@ -16,12 +16,12 @@
 # Generate our string and hash tables
 hash.c: genhash term.h
                @echo "Generating terminfo hash"
-               cd ${LIBTIDIR}; ./genhash >${.OBJDIR}/$@
+               cd ${LIBTIDIR} && ${HOST_SH} ./genhash >${.OBJDIR}/$@
 
 # Update our man page with terminfo long names, short names and termcaps
 terminfo.5: genman terminfo.5.in term.h termcap.c
                @echo "Generating terminfo man pages"
-               cd ${LIBTIDIR}; ./genman >${.OBJDIR}/$@
+               cd ${LIBTIDIR} && ${HOST_SH} ./genman >${.OBJDIR}/$@
 
 MAN=           terminfo.3 terminfo.5
 CLEANFILES+=   terminfo.5 hash.c
@@ -47,7 +47,7 @@
 # Generate our string and hash tables
 termcap_hash.c:        genthash termcap_map.c
                @echo "Generating termcap hash"
-               cd ${LIBTIDIR}; ./genthash >${.OBJDIR}/$@
+               cd ${LIBTIDIR} && ${HOST_SH} ./genthash >${.OBJDIR}/$@
 
 # Depend on our hash table
 termcap.c:     termcap_hash.c



Home | Main Index | Thread Index | Old Index