3 # Use make V=1 for verbose rule output
16 QHTML_
= $(AT
)echo
"[HTML] $@" &&
22 MDSCRIPT
= ..
/markdown.git
/Markdown.pl
23 MARKDOWN
= $(PERL
) $(MDSCRIPT
) $(MDOPTS
)
25 # Clean out the standard six single suffix inference rules
27 .SUFFIXES
: .c .sh .f .c˜ .sh˜ .f˜
38 $(AT
)echo
"error: missing \"$(MDSCRIPT)\"" >&2 && \
39 echo
"error: did you forget to init the markdown.git submodule?" >&2 && \
47 $(QHTML
)$(MARKDOWN
) $< >$@
52 +$(AT
)f
=; for t in
*.txt howto
/*.txt technical
/*.txt
; do
test "$${t%?????}*.txt" = "$$t" || f
="$$f $${t%.txt}.html"; done
; \
53 test "$$f" = "" ||
$(MAKE
) $(S
) $$f
56 +$(Q
)rm -f
*.html howto
/*.html technical
/*.html