Parcourir la source

:beetle: Fix HTML generation

Previously, both extensions were needed, but one is enough.
DricomDragon il y a 2 ans
Parent
commit
d41fa2d703
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  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)