Annotation of CSS/CSS2.1-test-suite/Makefile, revision 1.3

1.1       ihickson    1: all:
1.3     ! ihickson    2:        # empty staging area
        !             3:        rm -rf tests/
        !             4:        mkdir tests
        !             5:        # take raw and cooked tests and place them in staging area, along with support files
1.1       ihickson    6:        find raw-tests -name FILENAMES | xargs -n 1 perl make-proper-tests.pl
1.2       ihickson    7:        find cooked-tests -name '*.xht' | xargs -n 1 --replace cp -Lv {} tests
                      8:        find cooked-tests/* -maxdepth 0 -type d -not -name CVS | xargs -n 1 --replace cp -Lrvu {}/support tests
1.3     ! ihickson    9:        # nuke unused suport files and CVS directories
1.1       ihickson   10:        rm -rf tests/support/.unused
1.2       ihickson   11:        find tests -type d -name CVS | xargs rm -rf
1.3     ! ihickson   12:        # empty distribution area
1.1       ihickson   13:        rm -rf dist/
                     14:        mkdir dist
1.3     ! ihickson   15:        # generate the tests in all supported formats, along with support files
1.1       ihickson   16:        perl generate.pl tests/*.xht
                     17:        cp -Lrv tests/support dist/support
1.3     ! ihickson   18:        # empty staging area again
        !            19:        rm -rf tests/
        !            20:        # report number of tests now included (XHTML1.1 variants only)
1.2       ihickson   21:        ls dist/*.xht | wc -l

Webmaster