Makefile
changeset 46 86c0184efac7
parent 41 8f1dc5d77f3d
child 50 37931fbb857f
--- 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 $< >$@