diff --git a/Makefile b/Makefile index f7960f2..ebb7c7f 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ LIB_URL_MUCHPDFTOOLS := https://tulsablona.zumepro.cz/lib/much_pdf_tools TEMPLATE_SRCS := $(shell find template -type f) \ $(LIB_TARGETS_MUCHPDFTOOLS:%=$(LIB_MUCHPDFTOOLS)/%) template/example_appendix.pdf TO_PACK := $(TEMPLATE_SRCS) template/LICENSE -BUNDLE_THESES := bp_cs bp_en dp_cs dp_en prj_cs prj_en sp_cs sp_en +BUNDLE_THESES := bp_cs bp_en dp_cs dp_en prj_cs prj_en sp_cs sp_en presentation_cs BUNDLE_TARGETS := $(TO_PACK:%=$(BUNDLEDIR)/%) $(BUNDLEDIR)/citations.bib $(BUNDLEDIR)/bp_cs.typ \ $(BUNDLE_THESES:%=$(BUNDLEDIR)/%.typ) $(BUNDLEDIR)/Makefile \ $(BUNDLEDIR)/title-pages.pdf $(BUNDLEDIR)/assignment.pdf @@ -191,6 +191,9 @@ $(BUNDLEDIR)/template/%: template/% | $(BUNDLEDIR)/template @mkdir -p $(@D) ln -f $< $@ +$(BUNDLEDIR)/presentation_%.typ: theses/presentation_%.typ | $(BUNDLEDIR) + cat $< | awk 'BEGIN{RS=""; ORS="\n\n"} NR>2{print}' > $@ + $(BUNDLEDIR)/%.typ: $(BUILD_DIR)/content_%.txt | $(BUNDLEDIR) sed 's/\.\.\/template\//template\//' $< > $@ diff --git a/README.md b/README.md index b2a456a..29001f1 100644 --- a/README.md +++ b/README.md @@ -143,3 +143,4 @@ We also have (at the moment): - `dp_en` - `prj_cs` - `prj_en` +- `presentation_cs` diff --git a/flake.nix b/flake.nix index 8a1c9c1..83d5ae2 100644 --- a/flake.nix +++ b/flake.nix @@ -106,6 +106,7 @@ "dp_cs" "dp_en" "prj_cs" "prj_en" "sp_cs" "sp_en" + "presentation_cs" ]) typstPkgs; } );