--- a/Makefile Fri Aug 21 12:17:35 2020 +0300
+++ b/Makefile Fri Aug 21 12:18:08 2020 +0300
@@ -156,7 +156,9 @@
$(patsubst %.gaphrase,dist/anki/%.apkg,$(GAPHRASE_FILES)) \
$(patsubst %.gadialog,dist/anki/%.apkg,$(GADIALOG_FILES))
-DICT_HTML_FILES := $(patsubst %.gadict,dist/html/%.html,$(GADICT_FILES))
+DICT_HTML_FILES := \
+ $(patsubst %.gadict,dist/html/%.html,$(GADICT_FILES)) \
+ dist/html/gadialog.html
RST_TMPL_FILE = dist/misc/rst.tmpl
RST_CSS_FILE = www/tmpl/rst.css
@@ -716,6 +718,9 @@
dist/html/%.html: %.gadict py/gadict.py py/gadict_html.py $(FREQLIST_DEP) $(MAKEFILE_LIST) | dist/html/
python3 -B py/gadict_html.py $(FREQLIST_OPT) $< $@
+dist/html/gadialog.html: gadialog.gadialog py/gadialog.py py/gadialog_html.py | dist/html/
+ python3 -B py/gadialog_html.py $< $@
+
dist/html/:
mkdir -p $@