From 7726b953b98ba1b0c3abf0fc333eb4b1bacef892 Mon Sep 17 00:00:00 2001 From: Carl Kittelberger Date: Thu, 22 Mar 2018 10:39:38 +0100 Subject: [PATCH] Add gdrive sync task. --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 3207c0a..d206180 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,9 @@ SOFFICE = soffice SOFFICE_FLAGS = --headless INKSCAPE = inkscape INKSCAPE_FLAGS = +RSYNC = rsync +RSYNC_FLAGS = +GOOGLEDRIVE_PATH = $(HOME)/Google MARKDOWN_INPUTS = $(wildcard *.md) @@ -73,3 +76,6 @@ clean-pdf: %.tex: %.md @echo $< "->" $@ $(PANDOC) $(PANDOC_FLAGS) $(PANDOC_TEX_FLAGS) --listings -s $< -o $@ + +sync-gdrive: + $(RSYNC) $(RSYNC_FLAGS) -av *-Lehrer_*.pdf $(GOOGLEDRIVE_PATH)/"Berufsschule - the cool kidz/E2FI1/ITS/"