diff options
author | Fabian Groffen <grobian@gentoo.org> | 2021-12-21 10:59:30 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2021-12-21 10:59:30 +0100 |
commit | 331d3dbb1fa1fdcade0d1debb1fc722ef3b9d1f2 (patch) | |
tree | 634925c9a6f494c7ae2857aa877f9973921dcc68 /autogen.sh | |
parent | qlist: fix matching of USE-flags (diff) | |
download | portage-utils-331d3dbb1fa1fdcade0d1debb1fc722ef3b9d1f2.tar.gz portage-utils-331d3dbb1fa1fdcade0d1debb1fc722ef3b9d1f2.tar.bz2 portage-utils-331d3dbb1fa1fdcade0d1debb1fc722ef3b9d1f2.zip |
autogen: keep our own m4 files around
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -14,7 +14,16 @@ if ! qlist -qI sys-devel/autoconf-archive > /dev/null ; then exit 1 fi -v rm -rf autotools +# keep this list updated with non-generated M4 files +keepm4=( ac_check_sendfile.m4 ) +for keepf in "${keepm4[@]}" ; do + v mv "${m4dir}/${keepf}" "autotools/" +done +v rm -rf autotools/{gnulib,m4} +v mkdir "${m4dir}" +for keepf in "${keepm4[@]}" ; do + v mv "autotools/${keepf}" "${m4dir}/" +done # reload the gnulib code PATH=/usr/local/src/gnu/gnulib:${PATH} |