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