I'm working on a project where an increasing number of small mini apps all share nearly the same tooling - makefiles, dockerfiles, jenkinsfiles and webpack configs, along with a couple of scripts, are all rigged for each project to give a standard set of dev tools for each project.
This is becoming increasingly difficult, as updates to the build process mean changing what is essentially the same file in each project in order to keep them all inline and working. I'd like to get them into their own repo, but the tools, especially make and docker, are very dependent on their location in the file structure. I'm tempted to use another makefile that just templates in what's needed to populate all of these files in the correct places, but that feels a little bootleg.
Have you worked with extracting project tooling like this? If so, how did you work around the requirements of these tools?