[pacman-dev] [PATCH v2 5/6] scripts: fix some inaccurate Makefile targets, and be more templated