bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fix --create-megatestdir


From: Bruno Haible
Subject: fix --create-megatestdir
Date: Sun, 21 Oct 2007 14:20:23 +0200
User-agent: KMail/1.5.4

Hi,

Since the move to git, "gnulib-tool --create-megatestdir ..." gives this
error message:

...
gllib/Makefile.am: installing `build-aux/depcomp'
executing aclocal -I ../glm4
executing autoconf
executing autoheader
executing automake --add-missing --copy
ls: cannot access <gnulib-dir>/./CVS/Entries: No such file or directory
executing aclocal
executing mkdir build-aux
executing autoconf
executing automake --add-missing --copy

This fixes it.


2007-10-21  Bruno Haible  <address@hidden>

        * gnulib-tool (func_create_megatestdir): Determine the cvsdate from
        Git's management files if the CVS files are not present.

*** gnulib-tool.orig    2007-10-21 13:32:49.000000000 +0200
--- gnulib-tool 2007-10-21 13:32:36.000000000 +0200
***************
*** 3538,3544 ****
    func_append megasubdirs "ALL"
  
    # Create autobuild.
!   cvsdate=`sh "$gnulib_dir/build-aux/mdate-sh" "$gnulib_dir/CVS/Entries" \
               | sed -e 's,January,01,'   -e 's,Jan,01,' \
                     -e 's,February,02,'  -e 's,Feb,02,' \
                     -e 's,March,03,'     -e 's,Mar,03,' \
--- 3538,3549 ----
    func_append megasubdirs "ALL"
  
    # Create autobuild.
!   cvsdate=`if test -f "$gnulib_dir/CVS/Entries"; then \
!              vc_witness="$gnulib_dir/CVS/Entries"; \
!            else \
!              vc_witness="$gnulib_dir/.git/refs/heads/master"; \
!            fi; \
!            sh "$gnulib_dir/build-aux/mdate-sh" "$vc_witness" \
               | sed -e 's,January,01,'   -e 's,Jan,01,' \
                     -e 's,February,02,'  -e 's,Feb,02,' \
                     -e 's,March,03,'     -e 's,Mar,03,' \





reply via email to

[Prev in Thread] Current Thread [Next in Thread]