concatenate outputdir only once at start of file and use it later on to reduce complexity of gruntfile
use pkg.name for automatically generated files