Comment syntax convention.
--- a/HACKING.rst Fri Sep 02 01:36:30 2011 +0300
+++ b/HACKING.rst Fri Sep 02 01:43:31 2011 +0300
@@ -3,6 +3,12 @@
gadict HACKING guide.
=======================
+Comment syntax convention.
+--------------------------
+
+As 'dictd -c5' format does not support comment syntax we filter out all
+lines that start with '#'.
+
Register gadict dictionaries for dictd under Debian.
====================================================
::
--- a/Makefile Fri Sep 02 01:36:30 2011 +0300
+++ b/Makefile Fri Sep 02 01:43:31 2011 +0300
@@ -34,12 +34,12 @@
# --case-sensitive
%.dict %.index: %.c5
- dictfmt -c5 \
+ sed '/^#/d' $< | dictfmt -c5 \
--headword-separator '; ' --break-headwords \
--utf8 --allchars \
-u "`sed -n '\|http://[[:print:]]\+/|{s=^.*\(http://\)=\1=;p;q;}' $<`" \
-s "`sed -n '/^ABOUT: /{s=ABOUT: ==;p;q;}' $<`" \
- $* <$<
+ $*
%.dict.dz: %.dict
dictzip -c $< >$@