Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Sep 2021 14:49:04 GMT
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 439aa5872860 - main - iconv: Fix "make make-ref"
Message-ID:  <202109061449.186En4cG073969@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by trasz:

URL: https://cgit.FreeBSD.org/src/commit/?id=439aa5872860f5e1d634433161a64f60dacfda7d

commit 439aa5872860f5e1d634433161a64f60dacfda7d
Author:     Edward Tomasz Napierala <trasz@FreeBSD.org>
AuthorDate: 2021-09-06 14:47:30 +0000
Commit:     Edward Tomasz Napierala <trasz@FreeBSD.org>
CommitDate: 2021-09-06 14:47:35 +0000

    iconv: Fix "make make-ref"
    
    The purpose of this command is to "refresh" the source reference
    files generated with GNU libiconv, located in tools/test/iconv/ref/.
    Previously it would generate copies somewhere in OBJDIR, which
    we don't use.
    
    Reviewed By:    allanjude
    Sponsored by:   Klara, Inc.
    Differential Revision:  https://reviews.freebsd.org/D31820
---
 tools/test/iconv/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/test/iconv/Makefile b/tools/test/iconv/Makefile
index 3b74be06aac6..6f390d4deb4d 100644
--- a/tools/test/iconv/Makefile
+++ b/tools/test/iconv/Makefile
@@ -39,9 +39,9 @@ make-ref: refgen
 	mkdir -p ref
 .for enc in ${ENCODING}
 	@echo "Generating ${enc} --> UTF-32 ..."
-	-@${REF_FWD} ${enc} >ref/${enc}
+	-@${REF_FWD} ${enc} >${.CURDIR}/ref/${enc}
 	@echo "Generating UTF-32 --> ${enc} ..."
-	-@${REF_REV} ${enc} >ref/${enc}-rev
+	-@${REF_REV} ${enc} >${.CURDIR}/ref/${enc}-rev
 .endfor
 
 check: tablegen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109061449.186En4cG073969>