From: Sergey Poznyakoff Date: Sun, 19 Aug 2007 09:17:21 +0000 (+0000) Subject: Gnulib initialization destroyed paxutils m4 files. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=89d682d0b9dbedfafb4461b8ee42373b19041b6e;p=chaz%2Ftar Gnulib initialization destroyed paxutils m4 files. Initialize paxutils structure after that of gnulib. --- diff --git a/bootstrap b/bootstrap index 4c7d9e6..32f4d07 100755 --- a/bootstrap +++ b/bootstrap @@ -339,28 +339,6 @@ copy_files() { done } -copy_files ${PAXUTILS_SRCDIR}/m4 m4 -echo "$0: Creating m4/paxutils.m4" -(echo "# This file is generated automatically. Please, do not edit." - echo "#" - echo "AC_DEFUN([${package}_PAXUTILS],[" - cat ${PAXUTILS_SRCDIR}/m4/DISTFILES | sed '/^#/d;s/\(.*\)\.m4/pu_\1/' | tr a-z A-Z - echo "])") > ./m4/paxutils.m4 -ignorefile m4 paxutils.m4 - -if [ -d rmt ]; then - : -else - mkdir rmt -fi - -for dir in doc rmt lib tests -do - copy_files ${PAXUTILS_SRCDIR}/$dir $dir -done - -copy_files ${PAXUTILS_SRCDIR}/paxlib lib pax - # Get gnulib files. case ${GNULIB_SRCDIR--} in @@ -600,6 +578,28 @@ slurp $bt2 $bt || exit rm -fr $bt $bt2 || exit +# Import from paxutils +copy_files ${PAXUTILS_SRCDIR}/m4 m4 +echo "$0: Creating m4/paxutils.m4" +(echo "# This file is generated automatically. Please, do not edit." + echo "#" + echo "AC_DEFUN([${package}_PAXUTILS],[" + cat ${PAXUTILS_SRCDIR}/m4/DISTFILES | sed '/^#/d;s/\(.*\)\.m4/pu_\1/' | tr a-z A-Z + echo "])") > ./m4/paxutils.m4 +ignorefile m4 paxutils.m4 + +if [ -d rmt ]; then + : +else + mkdir rmt +fi + +for dir in doc rmt lib tests +do + copy_files ${PAXUTILS_SRCDIR}/$dir $dir +done + +copy_files ${PAXUTILS_SRCDIR}/paxlib lib pax # Reconfigure, getting other files.