From 7f1d1297116fde0daf337c99f033bd2d63316752 Mon Sep 17 00:00:00 2001 From: Nicolas Sceaux Date: Sun, 29 Mar 2015 12:04:42 +0200 Subject: [PATCH] =?utf8?q?Backup=20des=20projets=20priv=C3=A9s?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- common/catalogue.ily | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common/catalogue.ily b/common/catalogue.ily index d574c037..1b7c13bf 100644 --- a/common/catalogue.ily +++ b/common/catalogue.ily @@ -183,6 +183,11 @@ (basename key) delivery-dir (basename key) (basename key) (basename key) (basename key) (basename key) delivery-dir (basename key) key delivery-dir (basename key)) + ;; -backup rule, for source archive (used for non-public projects) + (format #t "~%~a-backup: + git archive --prefix=~a/ HEAD ~a | gzip > ~~/Google\\ Drive/backup/~a.tar.gz~%" + key + (basename key) key (basename key)) ;; -clean rule (format #t "~%~a-clean: @rm -f $(OUTPUT_DIR)/~a-* $(OUTPUT_DIR)/~a.*~%" -- 2.11.4.GIT