2017-09-27 19:32:08 +00:00
|
|
|
makefiles-remote:
|
2022-05-20 10:51:01 +00:00
|
|
|
git ls-remote --exit-code makefiles 2> /dev/null || git remote add makefiles ssh://git@lab.gsi.upm.es:2200/docs/templates/makefiles.git
|
2017-09-27 19:32:08 +00:00
|
|
|
|
|
|
|
makefiles-commit: makefiles-remote
|
|
|
|
git add -f .makefiles
|
|
|
|
git commit -em "Updated makefiles from ${NAME}"
|
|
|
|
|
2017-09-27 19:43:54 +00:00
|
|
|
makefiles-push:
|
2018-11-06 16:02:59 +00:00
|
|
|
git fetch makefiles $(NAME)
|
2017-09-27 19:32:08 +00:00
|
|
|
git subtree push --prefix=.makefiles/ makefiles $(NAME)
|
|
|
|
|
|
|
|
makefiles-pull: makefiles-remote
|
|
|
|
git subtree pull --prefix=.makefiles/ makefiles master --squash
|
|
|
|
|
2018-11-06 16:10:08 +00:00
|
|
|
.PHONY:: makefiles-remote makefiles-commit makefiles-push makefiles-pull
|