Excluded data/test/ from tarball

This commit is contained in:
Pauli Nieminen 2008-08-23 16:08:37 +00:00
parent d6efbabced
commit c934825607
3 changed files with 5 additions and 5 deletions

View file

@ -5,7 +5,7 @@ pkgdatadir=$(datadir)/@DATADIR@
bin_SCRIPTS =
# Ignore junk -- object files, editor backup files, wmllint backup files.
findfilterflags=! \( -name .svn -prune -o -name ".\#*" -o -name "*~" -o -name "*bak" -o -name 'Makefile' -o -name '*Makefile' -o -type d \)
findfilterflags=! \( -name .svn -prune -o -name ".\#*" -o -name "*~" -o -name "*bak" -o -name 'Makefile' -o -name '*Makefile' -o -type d -o -wholename "data/test/*" \)
# List all datafiles, ignoring junk
finddata=(cd $(top_srcdir) && find data fonts icons images sounds $(findfilterflags) -print )

View file

@ -535,7 +535,7 @@ if 'dist' in COMMAND_LINE_TARGETS: # Speedup, the manifest is expensive
def dist_manifest():
"Get an argument list suitable for passing to a distribution archiver."
# Start by getting a list of all files under version control
lst = commands.getoutput("svn -v status | awk '/^[^?]/ {print $4;}'").split()
lst = commands.getoutput("svn -v status | grep -v 'data\/test\/.*' | awk '/^[^?]/ {print $4;}'").split()
lst = filter(os.path.isfile, lst)
return lst
dist_tarball = env.Tar('wesnoth-${version}.tar.bz2', [])

View file

@ -5,11 +5,11 @@
#ifdef TEST
# Load core wml for tests including macros and units
{@core/}
{@core}
#Load test macros
{macros/}
{macros}
#Load test scenarios
{scenarios/}
{scenarios}
#endif