From 138c6dfc143c7d5645b1f24b026757cfd7bc7546 Mon Sep 17 00:00:00 2001 From: asami Date: Fri, 23 Dec 1994 06:56:00 +0000 Subject: Fetch patch file into $DISTDIR directly instead of current dir. --- japanese/mule-canna/Makefile | 12 ++++++------ japanese/mule-freewnn/Makefile | 12 ++++++------ japanese/mule-wnn6/Makefile | 12 ++++++------ japanese/mule-wnn7/Makefile | 12 ++++++------ 4 files changed, 24 insertions(+), 24 deletions(-) (limited to 'japanese') diff --git a/japanese/mule-canna/Makefile b/japanese/mule-canna/Makefile index 3dec442..9110db0 100644 --- a/japanese/mule-canna/Makefile +++ b/japanese/mule-canna/Makefile @@ -3,7 +3,7 @@ # Date created: 22 November 1994 # Whom: Satoshi Asami (asami) # -# $Id: Makefile,v 1.3 1994/11/26 23:07:02 ats Exp $ +# $Id: Makefile,v 1.4 1994/11/27 03:40:09 asami Exp $ # DISTNAME= mule-2.1 @@ -27,13 +27,13 @@ PREBUILD_COOKIE= ${.CURDIR}/work/.prebuild_done pre-fetch: @if [ ! -d ${DISTDIR} ]; then mkdir -p ${DISTDIR}; fi - @for file in ${PATCHFILES}; do \ - if [ ! -f ${DISTDIR}/$$file ]; then \ + @(cd ${DISTDIR}; \ + for file in ${PATCHFILES}; do \ + if [ ! -f $$file ]; then \ echo ">> Fetching patch $$file from remote site..."; \ - ${NCFTP} ${NCFTPFLAGS} ${PATCHSITE}$$file \ - && mv $$file ${DISTDIR}; \ + ${NCFTP} ${NCFTPFLAGS} ${PATCHSITE}$$file; \ fi \ - done + done) pre-patch: ${PREPATCH_COOKIE} diff --git a/japanese/mule-freewnn/Makefile b/japanese/mule-freewnn/Makefile index 3dec442..9110db0 100644 --- a/japanese/mule-freewnn/Makefile +++ b/japanese/mule-freewnn/Makefile @@ -3,7 +3,7 @@ # Date created: 22 November 1994 # Whom: Satoshi Asami (asami) # -# $Id: Makefile,v 1.3 1994/11/26 23:07:02 ats Exp $ +# $Id: Makefile,v 1.4 1994/11/27 03:40:09 asami Exp $ # DISTNAME= mule-2.1 @@ -27,13 +27,13 @@ PREBUILD_COOKIE= ${.CURDIR}/work/.prebuild_done pre-fetch: @if [ ! -d ${DISTDIR} ]; then mkdir -p ${DISTDIR}; fi - @for file in ${PATCHFILES}; do \ - if [ ! -f ${DISTDIR}/$$file ]; then \ + @(cd ${DISTDIR}; \ + for file in ${PATCHFILES}; do \ + if [ ! -f $$file ]; then \ echo ">> Fetching patch $$file from remote site..."; \ - ${NCFTP} ${NCFTPFLAGS} ${PATCHSITE}$$file \ - && mv $$file ${DISTDIR}; \ + ${NCFTP} ${NCFTPFLAGS} ${PATCHSITE}$$file; \ fi \ - done + done) pre-patch: ${PREPATCH_COOKIE} diff --git a/japanese/mule-wnn6/Makefile b/japanese/mule-wnn6/Makefile index 3dec442..9110db0 100644 --- a/japanese/mule-wnn6/Makefile +++ b/japanese/mule-wnn6/Makefile @@ -3,7 +3,7 @@ # Date created: 22 November 1994 # Whom: Satoshi Asami (asami) # -# $Id: Makefile,v 1.3 1994/11/26 23:07:02 ats Exp $ +# $Id: Makefile,v 1.4 1994/11/27 03:40:09 asami Exp $ # DISTNAME= mule-2.1 @@ -27,13 +27,13 @@ PREBUILD_COOKIE= ${.CURDIR}/work/.prebuild_done pre-fetch: @if [ ! -d ${DISTDIR} ]; then mkdir -p ${DISTDIR}; fi - @for file in ${PATCHFILES}; do \ - if [ ! -f ${DISTDIR}/$$file ]; then \ + @(cd ${DISTDIR}; \ + for file in ${PATCHFILES}; do \ + if [ ! -f $$file ]; then \ echo ">> Fetching patch $$file from remote site..."; \ - ${NCFTP} ${NCFTPFLAGS} ${PATCHSITE}$$file \ - && mv $$file ${DISTDIR}; \ + ${NCFTP} ${NCFTPFLAGS} ${PATCHSITE}$$file; \ fi \ - done + done) pre-patch: ${PREPATCH_COOKIE} diff --git a/japanese/mule-wnn7/Makefile b/japanese/mule-wnn7/Makefile index 3dec442..9110db0 100644 --- a/japanese/mule-wnn7/Makefile +++ b/japanese/mule-wnn7/Makefile @@ -3,7 +3,7 @@ # Date created: 22 November 1994 # Whom: Satoshi Asami (asami) # -# $Id: Makefile,v 1.3 1994/11/26 23:07:02 ats Exp $ +# $Id: Makefile,v 1.4 1994/11/27 03:40:09 asami Exp $ # DISTNAME= mule-2.1 @@ -27,13 +27,13 @@ PREBUILD_COOKIE= ${.CURDIR}/work/.prebuild_done pre-fetch: @if [ ! -d ${DISTDIR} ]; then mkdir -p ${DISTDIR}; fi - @for file in ${PATCHFILES}; do \ - if [ ! -f ${DISTDIR}/$$file ]; then \ + @(cd ${DISTDIR}; \ + for file in ${PATCHFILES}; do \ + if [ ! -f $$file ]; then \ echo ">> Fetching patch $$file from remote site..."; \ - ${NCFTP} ${NCFTPFLAGS} ${PATCHSITE}$$file \ - && mv $$file ${DISTDIR}; \ + ${NCFTP} ${NCFTPFLAGS} ${PATCHSITE}$$file; \ fi \ - done + done) pre-patch: ${PREPATCH_COOKIE} -- cgit v1.1