Add a `base` option for a different base directory

All source files will be copied to the target with a path relative to the base.