Makefile.am: added missing files to EXTRA_DIST
new syntax:  $a=copy($b) or $a=copy(%f.param)
change how "~5" is parsed, add checks for wrong syntax, e.g. $a=~~~9