diff --git a/.gitignore b/.gitignore index bdec21e..fc7c1cc 100644 --- a/.gitignore +++ b/.gitignore @@ -257,7 +257,6 @@ inc/ /blib/ /_eumm/ /*.gz -/Makefile /Makefile.old /MANIFEST.bak /pm_to_blib diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..78061dc --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ + +all: sync + +sync: test update + @git status | grep -q 'nothing to commit' || (git add -A && git commit -am "$$(date '+%F %T')" && git push) || true + +test: + @dig +short vogsphere.baco.net A | grep -q '213\.5\.156\.25' || echo 'vogsphere.baco.net unreachable' + +update: + @git pull +