build: Update after recent gettextize fix.

* gettext-tools/misc/add-to-archive: Look up the *.m4 files in
$datadir/gettext/m4, not $datadir/aclocal.
This commit is contained in:
Bruno Haible 2025-05-02 18:30:05 +02:00
parent ec9dbddb54
commit 0fe557b678

View File

@ -1,6 +1,6 @@
#! /bin/sh
#
# Copyright (C) 2002, 2006, 2009-2010, 2018 Free Software Foundation, Inc.
# Copyright (C) 2002, 2006, 2009-2010, 2018, 2025 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -71,7 +71,7 @@ work_archive=`pwd`/"$work_dir/archive"
done
cd ..
mkdir "$work_archive/m4"
cd "$myprefix"/share/aclocal
cd "$myprefix"/share/gettext/m4
for file in *; do
cp -p $file "$work_archive/m4/$file"
done