Changeset 568 for trunk/test/Makefile.am


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/Makefile.am

    r556 r568  
    4949
    5050toy_project = toy_project
    51 
    52 # some tests need the test repo to be checked out
    53 stats_test_DEPENDENCIES = $(toy_project) @top_builddir@/lib/libsvndigest.la
    54 
    5551rootdir = $(abs_srcdir)/$(toy_project)
    5652targetdir = $(abs_builddir)/generated_output
    5753repodir = $(abs_srcdir)/repo/trunk
    5854
    59 do_subst = $(SED) -e 's,%SHELL%,$(SHELL),g' \
    60             -e 's,%SED%,$(SED),g' \
    61             -e 's,%DISTFILES%,$(DISTFILES),g' \
    62             -e 's,%GREP%,$(GREP),g' \
    63             -e 's,%abs_srcdir%,$(abs_srcdir),g' \
    64             -e 's,%repodir%,$(repodir),g' \
    65             -e 's,%rootdir%,$(rootdir),g' \
    66             -e 's,%targetdir%,$(targetdir),g' \
    67             -e 's,%abs_top_builddir%,$(abs_top_builddir),g'
    6855
    69 
    70 check_repo_status.sh: check_repo_status.sh.in Makefile
    71   @$(do_subst) < $< > $@
    72   @chmod +x $@
    73   @echo creating $@
    74 
    75 test_repo.sh: test_repo.sh.in Makefile $(toy_project)
    76   @$(do_subst) < $< > $@
    77   @chmod +x $@
    78   @echo creating $@
     56# some tests need the test repo to be checked out
     57stats_test_DEPENDENCIES = $(toy_project) @top_builddir@/lib/libsvndigest.la
    7958
    8059$(toy_project):
     
    8463clean-local:
    8564  rm -rf *.png *.tmp *~ check_repo_status.sh test_repo.sh \
    86   $(targetdir) 
     65  $(targetdir)
Note: See TracChangeset for help on using the changeset viewer.