diff --git a/.generatePdf.mk b/.generatePdf.mk old mode 100644 new mode 100755 index 3c16ca8dda7531c335e256b02ff0f7f5a0919b30..0422be2fd11f80a360c6c8edad1eb20c33b85322 --- a/.generatePdf.mk +++ b/.generatePdf.mk @@ -1,8 +1,11 @@ +#!/usr/bin/make -f # Typeset Markdown documentation files for GPU Hackathon Jülich into PDF # Individual PDFs for each .md will be created plus one concatenated, large PDF of all .md files. # # Andreas Herten, March 2017, March 2019 +MAKEFILE = $(CURDIR)/$(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)) + LC = pandoc LCFLAGS = --pdf-engine=xelatex --variable mainfont="PT Serif" @@ -20,7 +23,7 @@ PDFS = $(SRC:.md=.pdf) all: $(PDFS) all.pdf -%.pdf: %.md Makefile +%.pdf: %.md $(MAKEFILE) $(LC) $(LCFLAGS) -o pdf/$@ $< all.pdf: LCFLAGS += --toc @@ -28,7 +31,7 @@ all.pdf: LCFLAGS += --variable title:"GPU Eurohack 2019 User Guide" all.pdf: LCFLAGS += --variable abstract:"Some hints for participants and mentors of the GPU Hackathon 2019 at Jülich Supercomputing Centre. \textit{Hack Away!}" all.pdf: LCFLAGS += --variable institute:"Forschungszentrum Jülich" all.pdf: LCFLAGS += --variable keywords:"GPU,CUDA,OpenACC,FZJ,JSC" -all.pdf: $(SRC) Makefile +all.pdf: $(SRC) $(MAKEFILE) $(LC) $(LCFLAGS) -o pdf/$@ $(SRC) .PHONY: clean diff --git a/pdf/Accounts.pdf b/pdf/Accounts.pdf index 4372269d49a53a601e412309276d0cd1d37aec82..3909701c6b5b9fd5a8470926ae7dfba3fe3459e8 100644 Binary files a/pdf/Accounts.pdf and b/pdf/Accounts.pdf differ diff --git a/pdf/Batch-Systems.pdf b/pdf/Batch-Systems.pdf index a3a9ea17772537f188b11d81cf3653f7536961fd..138c80656ebea2bbe5ccd86107b8ff9fb285513e 100644 Binary files a/pdf/Batch-Systems.pdf and b/pdf/Batch-Systems.pdf differ diff --git a/pdf/JURON.pdf b/pdf/JURON.pdf index 7817af5aa94811f09a1af696ee0f3c9ae53e0656..4d8bd058e9e80f4e6e42d2602e52ad9b80eb14ff 100644 Binary files a/pdf/JURON.pdf and b/pdf/JURON.pdf differ diff --git a/pdf/JUWELS.pdf b/pdf/JUWELS.pdf index 65a264e35619920fd093e5ed47654b58fd6c70e3..175e1bfd7fe23b4bb1cfd02d0477aacde30d275d 100644 Binary files a/pdf/JUWELS.pdf and b/pdf/JUWELS.pdf differ diff --git a/pdf/More.pdf b/pdf/More.pdf index 48f3ce288d4d889f99f90264e621d73c4ad591a1..30efe1465d0fc62b40a6e6f657de43c06d47ca3d 100644 Binary files a/pdf/More.pdf and b/pdf/More.pdf differ diff --git a/pdf/all.pdf b/pdf/all.pdf index 2d9c01feaaaa7dc0b8eebfdaed81b9d3c7229ef7..b8a99ff1c6bd33953401e7ad813d823ccb53c9a2 100644 Binary files a/pdf/all.pdf and b/pdf/all.pdf differ