commit d57d2c8297917188ec509b288e48a6507f90b12a parent e861b0d46fc40e197e7748efd6d1c8875422477d Author: S S <ss@qoo> Date: Thu Feb 4 16:53:54 +0600 test multimarkdown Diffstat:
Makefile | | | 8 | +++++++- |
diff --git a/Makefile b/Makefile @@ -1,11 +1,17 @@ # HTML:=$(patsubst %.md,%.html,$(wildcard *.md)) +MULTIMARKDOWN:=$(or $(wildcard ~/bin/multimarkdown)) +ifeq ($(MULTIMARKDOWN),) +all: + @echo multimarkdown not found +else all: $(HTML) @echo SUCCESS +fi %.html: %.md Makefile - ~/bin/multimarkdown $< -o $@ + $(MULTIMARKDOWN) $< -o $@ # echo "<html> <body> <head> <meta charset="utf8"> </head>" > $@ # echo "</html>" >> $@