pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/help Replaced printf(1) with echo(1), since printf ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c92e3d361495
branches:  trunk
changeset: 529095:c92e3d361495
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu May 24 05:33:49 2007 +0000

description:
Replaced printf(1) with echo(1), since printf is not available in the
top-level directory of pkgsrc.

diffstat:

 mk/help/help.mk |  16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diffs (30 lines):

diff -r 1147656b61f7 -r c92e3d361495 mk/help/help.mk
--- a/mk/help/help.mk   Thu May 24 05:29:06 2007 +0000
+++ b/mk/help/help.mk   Thu May 24 05:33:49 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: help.mk,v 1.8 2007/04/11 06:40:09 rillig Exp $
+# $NetBSD: help.mk,v 1.9 2007/05/24 05:33:49 rillig Exp $
 #
 
 # This is the integrated pkgsrc online help system. To query for the
@@ -29,13 +29,13 @@
 .PHONY: help
 help:
 .if !defined(TOPIC)
-       @${PRINTF} "usage: %s help topic=<topic>\\n" ${MAKE:Q}
-       @${PRINTF} "\\n"
-       @${PRINTF} "\\t<topic> may be a variable name or a make target,\\n"
-       @${PRINTF} "\\tfor example CONFIGURE_DIRS or patch. For convenience,\\n"
-       @${PRINTF} "\\tyou don't need to use uppercase letters when typing\\n"
-       @${PRINTF} "\\tvariable names.\\n"
-       @${PRINTF} "\\n"
+       @${ECHO} "usage: "${MAKE:Q}" help topic=<topic>"
+       @${ECHO} ""
+       @${ECHO} "      <topic> may be a variable name or a make target,"
+       @${ECHO} "      for example CONFIGURE_DIRS or patch. For convenience,"
+       @${ECHO} "      you don't need to use uppercase letters when typing"
+       @${ECHO} "      variable names."
+       @${ECHO} ""
 .else
        ${RUN} cd ${PKGSRCDIR};                                         \
        env TOPIC=${TOPIC:Q} ${AWK} -f ${PKGSRCDIR}/mk/help/help.awk ${_HELP_FILES}



Home | Main Index | Thread Index | Old Index