Skip to content

Commit

Permalink
Fix: chicken egg problem #2
Browse files Browse the repository at this point in the history
  • Loading branch information
fadado committed Sep 4, 2016
1 parent 464ff0d commit e2532ce
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
16 changes: 14 additions & 2 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,22 @@ $(Destination)/jqt.css: $(Styles)/jqt.css $(Styles)/github.css
$(info ==> $@)
jqt -P CSS-min -I$(Styles) <$< >$@

# Man page
# Man page (to be build without callig `jqt`!)
GPP_MD := \
-U '<%' '>' '\B' '\B' '\W>' '<' '>' '$$' '' \
-M '<%' '>' '\B' '\B' '\W>' '<' '>' \
+sccc '&\n' '' '' \
+sccc '<\#' '\#>\n' '' \
+siqi "'" "'" '\' \
+siQi '"' '"' '\' \
+ssss '<!--' '-->' '' \
+ssss '`' '`' '' \
+ssss '\n```' '\n```' '' \
+ssss '\n~~~' '\n~~~' '' \
$(ManPage): $(Content)/jqt.1.markdown
$(info ==> $@)
jqt -P MarkDown -I$(Content) <$< \
gpp $(GPP_MD) -I$(Content) <$< \
| pandoc --standalone --from markdown --to man \
| gzip > $@

Expand Down
2 changes: 1 addition & 1 deletion docs/content/content.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Authored content
title: Authoring content
updated: "2016-08-28T10:27:09Z"
---
<%include macros.m>&
Expand Down
2 changes: 1 addition & 1 deletion docs/content/engine.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Operating the engine
title: Template engine
updated: "2016-08-28T10:27:09Z"
---
<%include macros.m>&
Expand Down

0 comments on commit e2532ce

Please sign in to comment.