Add MIPT CXX lecture notes

This commit is contained in:
2023-09-21 19:42:51 +03:00
parent 3bff372afe
commit 9f11ec59c4
5 changed files with 748 additions and 0 deletions

22
pages/mipt_cxx1/Makefile Normal file
View File

@@ -0,0 +1,22 @@
BUILDDIR ?= build
PAGE := $(shell basename $(shell pwd))
PREFIX := $(BUILDDIR)/page/$(PAGE)
MARKDOWN_FILES := $(wildcard *.md)
MARKDOWN_TARGETS = $(patsubst %.md,$(PREFIX)/%.html,$(MARKDOWN_FILES))
all: $(MARKDOWN_TARGETS) index
$(PREFIX)/%.html: %.md
@mkdir -p $(@D)
pandoc $< --to html --output $@ --standalone
$(PREFIX)/index.html: index.html
@mkdir -p $(@D)
cp $< $@
index: $(PREFIX)/index.html
.PHONY: all index