1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-24 09:02:28 +00:00
senpy/.makefiles/makefiles.mk

18 lines
546 B
Makefile
Raw Normal View History

2017-09-27 19:32:08 +00:00
makefiles-remote:
2017-09-29 13:11:08 +00:00
@git remote add makefiles ssh://git@lab.cluster.gsi.dit.upm.es:2200/docs/templates/makefiles.git 2>/dev/null || true
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:
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
2017-09-29 13:14:29 +00:00
pull:: makefiles-pull
2017-09-29 13:53:14 +00:00
push:: makefiles-push
2017-09-29 13:11:08 +00:00
2017-09-29 13:53:14 +00:00
.PHONY:: makefiles-remote makefiles-commit makefiles-push makefiles-pull pull push