Annotation of CSS/CSS2.1-test-suite/Makefile, revision 1.4
1.1 ihickson 1: all:
1.4 ! ihickson 2: #
1.3 ihickson 3: # empty staging area
1.4 ! ihickson 4: #
1.3 ihickson 5: rm -rf tests/
6: mkdir tests
1.4 ! ihickson 7: #
1.3 ihickson 8: # take raw and cooked tests and place them in staging area, along with support files
1.4 ! ihickson 9: #
1.1 ihickson 10: find raw-tests -name FILENAMES | xargs -n 1 perl make-proper-tests.pl
1.2 ihickson 11: find cooked-tests -name '*.xht' | xargs -n 1 --replace cp -Lv {} tests
1.4 ! ihickson 12: find cooked-tests/* -maxdepth 0 -type d -not -name CVS | xargs -n 1 perl -e 'if (-d "$ARGV[0]/support") { print `cp -Lrvu "$ARGV[0]/support" tests` }'
! 13: #
1.3 ihickson 14: # nuke unused suport files and CVS directories
1.4 ! ihickson 15: #
1.1 ihickson 16: rm -rf tests/support/.unused
1.2 ihickson 17: find tests -type d -name CVS | xargs rm -rf
1.4 ! ihickson 18: #
1.3 ihickson 19: # empty distribution area
1.4 ! ihickson 20: #
1.1 ihickson 21: rm -rf dist/
22: mkdir dist
1.4 ! ihickson 23: #
1.3 ihickson 24: # generate the tests in all supported formats, along with support files
1.4 ! ihickson 25: #
1.1 ihickson 26: perl generate.pl tests/*.xht
27: cp -Lrv tests/support dist/support
1.4 ! ihickson 28: #
1.3 ihickson 29: # empty staging area again
1.4 ! ihickson 30: #
1.3 ihickson 31: rm -rf tests/
1.4 ! ihickson 32: #
1.3 ihickson 33: # report number of tests now included (XHTML1.1 variants only)
1.4 ! ihickson 34: #
1.2 ihickson 35: ls dist/*.xht | wc -l
Webmaster