瀏覽代碼

:beetle: Fix HTML generation

Previously, both extensions were needed, but one is enough.
DricomDragon 2 年之前
父節點
當前提交
d41fa2d703
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      makefile

+ 4 - 1
makefile

@@ -13,7 +13,10 @@ PANDOC_GEN := pandoc --standalone --wrap=none --template src/templates/main.html
 build: $(GEN_FILES)
 	$(info HTML generated)
 
-%.gen.html: %.src.html %.src.md
+%.gen.html: %.src.html
+	$(PANDOC_GEN) --output $@ $<
+
+%.gen.html: %.src.md
 	$(PANDOC_GEN) --output $@ $<
 
 dist: $(DIST_FILES)