From f069965434ed33a6eb0600199cc249c324234947 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Fri, 8 Jun 2012 13:19:58 -0400 Subject: [PATCH] ENH: mirmon and refresh (the one to be called hourly from cron) Makefile rules --- Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 34adc54..cf38994 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,10 @@ WWW_UPLOAD_URI = ../www WWW_DIR = build/html/ -all: updatedb upload-website +# Lentghy one due to updatedb +all: updatedb upload-website mirmon +# Quick one -- just rebuilds html if new changes and adjusts the status of the mirrors +refresh: upload-website-stamp mirmon pics: @@ -71,5 +74,9 @@ upload-website: html upload-website-stamp: .git/index $(MAKE) upload-website -.PHONY: removedb removecache updatedb upload-website clean distclean pics html +mirmon: + # update and generate mirrors report + [ -x /usr/bin/mirmon ] && mirmon -q -get update -c mirmon-neurodebian.conf + +.PHONY: removedb removecache updatedb upload-website clean distclean pics html mirmon -- 2.39.2