Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Commit

Permalink
Replace the use of the crufty Markdown.pl script with the standardize…
Browse files Browse the repository at this point in the history
…d cmark
  • Loading branch information
keithbowes committed Apr 15, 2019
1 parent 0276ecd commit 2724592
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ SHELL = /bin/sh
BROWSER ?= $(if $(and $(DISPLAY),$(XDG_SESSION_ID)),xdg-open, \
$(if $(and $(COMSPEC),$(OS)),start,firefox))

CMARK ?= cmark
CURL ?= curl
ECHO ?= echo
MARKDOWN ?= Markdown.pl
MKDIR ?= install -d -m 755
RM ?= rm -f
RMDIR ?= $(RM) -r
Expand Down Expand Up @@ -70,13 +70,13 @@ $(dtd_files): $(addprefix chrome/locale/en-US/useragentswitcher/useragentswitche
docs/index.html: README.md
$(MKDIR) $(dir $@)
$(file > $@,<title>User Agent Switcher Overview</title>)
$(file >> $@,$(shell $(MARKDOWN) $<))
$(file >> $@,$(shell $(CMARK) $<))
-tidy -config docs/tidy.conf $@

docs/help.html: docs/HELP.md
$(MKDIR) $(dir $@)
$(file > $@,<title>User Agent Switcher Help</title>)
$(file >> $@,$(shell $(MARKDOWN) $<))
$(file >> $@,$(shell $(CMARK) $<))
-tidy -config docs/tidy.conf $@

$(generated_files): $(common_files)
Expand Down

0 comments on commit 2724592

Please sign in to comment.