Ignore:
Timestamp:
Mar 12, 2008, 11:08:49 PM (13 years ago)
Author:
Peter Johansson
Message:

using AC_CONFIG_FILES to create shell scripts from *.in files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/test_repo.sh.in

    r556 r568  
    1 #!%SHELL%
     1#!@SHELL@
     2# @configure_input@
     3
    24# $Id$
    35
    46# Copyright (C) 2007 Jari Häkkinen, Peter Johansson
     7# Copyright (C) 2008 Peter Johansson
    58#
    69# This file is part of svndigest, http://trac.thep.lu.se/svndigest
     
    2124# 02111-1307, USA.
    2225
    23 svn update %rootdir% > /dev/null;
     26rootdir=@abs_srcdir@/toy_project
     27targetdir=@abs_builddir@/generated_output
     28repodir=@abs_srcdir@/repo/trunk
    2429
    25 if [ ! -d %targetdir% ]; then
    26     mkdir %targetdir%;
     30svn update $rootdir > /dev/null;
     31
     32if [ ! -d $targetdir ]; then
     33    mkdir $targetdir;
    2734fi
    2835
    29 %abs_top_builddir%/bin/svndigest -r %rootdir% -t %targetdir% -f \
     36@abs_top_builddir@/bin/svndigest -r $rootdir -t $targetdir -f \
    3037--ignore-cache --no-report $1;
    3138
    32 %abs_top_builddir%/bin/svndigest -r %rootdir% -t %targetdir% -f --copyright $1;
     39@abs_top_builddir@/bin/svndigest -r $rootdir -t $targetdir -f --copyright $1;
    3340
Note: See TracChangeset for help on using the changeset viewer.