Makefile
branchv_0
changeset 20 fb939d9baaf4
parent 18 f315b3d27a9d
child 25 8da11cce2c98
equal deleted inserted replaced
19:c28f759961c7 20:fb939d9baaf4
    22 	rm -f ssm.en.xhtml
    22 	rm -f ssm.en.xhtml
    23 
    23 
    24 publish:
    24 publish:
    25 	scp ssm.en.xhtml globalcode.info:/var/www/sane-software.globalcode.info/v_0/index.xhtml
    25 	scp ssm.en.xhtml globalcode.info:/var/www/sane-software.globalcode.info/v_0/index.xhtml
    26 	scp style.css    globalcode.info:/var/www/sane-software.globalcode.info/v_0/
    26 	scp style.css    globalcode.info:/var/www/sane-software.globalcode.info/v_0/
       
    27 
       
    28 
       
    29 # Prints a table with number of items in particular chapters:
       
    30 statistics:
       
    31 	cat ssm.en.xml \
       
    32 	    | relpipe-in-xmltable \
       
    33 		--namespace "m" "tag:globalcode.info,2019:sane-software/manifesto" \
       
    34 		--relation "chapter" \
       
    35 		    --records "//m:chapter" \
       
    36 		    --attribute "name" string "m:name" \
       
    37 		    --attribute "item_count" integer "count(descendant::m:item)" \
       
    38 	    | relpipe-out-tabular
       
    39 # try also relpipe-out-gui to get the chart