Makefile
changeset 50 37931fbb857f
parent 46 86c0184efac7
child 54 12426df26196
--- a/Makefile	Fri Sep 02 02:26:39 2011 +0300
+++ b/Makefile	Sun Sep 04 22:56:37 2011 +0300
@@ -20,10 +20,10 @@
 datarootdir = $(prefix)/share
 datadir = $(datarootdir)/dictd
 
-C5_FILES := $(wildcard *.c5)
-DICT_FILES := $(C5_FILES:.c5=.dict)
-DICTDZ_FILES := $(C5_FILES:.c5=.dict.dz)
-INDEX_FILES := $(C5_FILES:.c5=.index)
+C5_FILES := $(wildcard *.dict-c5)
+DICT_FILES := $(C5_FILES:.dict-c5=.dict)
+DICTDZ_FILES := $(C5_FILES:.dict-c5=.dict.dz)
+INDEX_FILES := $(C5_FILES:.dict-c5=.index)
 
 
 .PHONY: all
@@ -33,7 +33,7 @@
 dist: $(DICTDZ_FILES) $(INDEX_FILES)
 
 #  --case-sensitive
-%.dict %.index: %.c5
+%.dict %.index: %.dict-c5
 	sed '/^#/d' $< | dictfmt  -c5 \
 	--headword-separator '; ' --break-headwords \
 	--utf8 --allchars \