diff --git a/pages/mipt_cxx1/Makefile b/pages/mipt_cxx1/Makefile index 646cbbd..9440b84 100644 --- a/pages/mipt_cxx1/Makefile +++ b/pages/mipt_cxx1/Makefile @@ -13,9 +13,9 @@ $(PREFIX)/%.html: %.md @mkdir -p $(@D) pandoc $< --to html --output $@ --standalone -$(PREFIX)/index.html: index.html +$(PREFIX)/index.html: @mkdir -p $(@D) - cp $< $@ + ./generate_index.sh > $@ index: $(PREFIX)/index.html diff --git a/pages/mipt_cxx1/generate_index.sh b/pages/mipt_cxx1/generate_index.sh new file mode 100755 index 0000000..927ba29 --- /dev/null +++ b/pages/mipt_cxx1/generate_index.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash +cat <<-_EOF + +
+