projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
paranoid push
[m6w6/ext-psi]
/
Makefile.frag
diff --git
a/Makefile.frag
b/Makefile.frag
index 589785dc23ec0b1bdf8260b23dc34ddefba18046..a9f6035bfa37e4da4bfa20988d9ea83481981ac0 100644
(file)
--- a/
Makefile.frag
+++ b/
Makefile.frag
@@
-86,3
+86,13
@@
clean: psi-clean-headers
ifneq ($(PSI_DEPS),)
clean: psi-clean-depend
endif
ifneq ($(PSI_DEPS),)
clean: psi-clean-depend
endif
+
+.PHONY: psi-paranoid-backups
+psi-paranoid-backups:
+ -if test -z "$((DEST))"; then \
+ echo "Usage: make psi-paranoid-backups DEST=<repo to push to>"; \
+ else \
+ git ci -am flush; \
+ git push $DEST; \
+ fi
+