Skip to content

Instantly share code, notes, and snippets.

@mig-hub
Created September 6, 2020 08:32
Show Gist options
  • Select an option

  • Save mig-hub/22f4b16254b645f8b991ad02d25c9dfb to your computer and use it in GitHub Desktop.

Select an option

Save mig-hub/22f4b16254b645f8b991ad02d25c9dfb to your computer and use it in GitHub Desktop.

Revisions

  1. mig-hub created this gist Sep 6, 2020.
    6 changes: 6 additions & 0 deletions Static_Website_HTML_Files.mk
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    .PHONY: html

    html: $(HTML_FILES) ## Build all HTML files from Markdown

    $(DST_DIR)/%.html: $(SRC_DIR)/%.md
    pandoc --from markdown --to html --standalone $< -o $@