Add gdrive sync task.

master
Icedream 2018-03-22 10:39:38 +01:00
parent 303f6033af
commit 7726b953b9
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 6 additions and 0 deletions

View File

@ -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/"