diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-01-29 11:08:52 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-01-29 11:08:52 +0000 |
commit | 0b1020495087240f21a4fa421e92e457fc065310 (patch) | |
tree | a9275c6a984cfec29d075da9a46c02652d31293e /japanese/linux-JM | |
parent | Update to 1.8.17. (diff) |
Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.
Use command macros where appropriate.
Notes
Notes:
svn path=/head/; revision=53956
Diffstat (limited to 'japanese/linux-JM')
-rw-r--r-- | japanese/linux-JM/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/japanese/linux-JM/Makefile b/japanese/linux-JM/Makefile index 4b4019cbe09b..b8c4726c0047 100644 --- a/japanese/linux-JM/Makefile +++ b/japanese/linux-JM/Makefile @@ -38,10 +38,10 @@ MANPAGES_OTHERS= \ .include <bsd.port.pre.mk> DISTFILES_GNU!=\ - ${ECHO} ${MANPAGES_GNU} \ + ${ECHO_CMD} ${MANPAGES_GNU} \ | ${SED} 's/[^ ]*/man-pages-ja-GNU_&-${DATESPEC}.tar.gz/g' DISTFILES_OTHERS!=\ - ${ECHO} ${MANPAGES_OTHERS} \ + ${ECHO_CMD} ${MANPAGES_OTHERS} \ | ${SED} 's/[^ ]*/man-pages-ja-&-${DATESPEC}.tar.gz/g' post-extract: @@ -55,27 +55,27 @@ post-extract: .endfor post-build: - @${ECHO} -n "" > ${PLIST} + @${ECHO_CMD} -n "" > ${PLIST} @for sec in ${MANSECS}; do \ if [ -d ${WRKSRC}/man$${sec} ]; then \ cd ${WRKSRC}/man$${sec}; \ list=`${MAKE} pages-list`; \ - set `${ECHO} $$list " "|${SED} 's/\.\([0-9]\) /.\1 \1 /g'`; \ + set `${ECHO_CMD} $$list " "|${SED} 's/\.\([0-9]\) /.\1 \1 /g'`; \ while : ; do \ case $$# in \ 0) break;; \ - [1]) ${ECHO} "can not happen" >/dev/tty; \ + [1]) ${ECHO_CMD} "can not happen" >/dev/tty; \ exit 1;; \ esac; \ - ${ECHO} man/ja/man$$2/$$1.gz; shift 2; \ + ${ECHO_CMD} man/ja/man$$2/$$1.gz; shift 2; \ done; \ fi; \ done|sort|uniq >>${PLIST} .for sec in ${MANSECS} - @${ECHO} '@unexec rmdir %D/man/ja/man'${sec}' 2>/dev/null || true' \ + @${ECHO_CMD} '@unexec rmdir %D/man/ja/man'${sec}' 2>/dev/null || true' \ >>${PLIST} .endfor - @${ECHO} '@unexec rmdir %D/man/ja 2>/dev/null || true' >>${PLIST} + @${ECHO_CMD} '@unexec rmdir %D/man/ja 2>/dev/null || true' >>${PLIST} pre-install: .for sec in ${MANSECS} |