Makefile
changeset 431 4ec7d0ea1602
parent 429 e721e428b909
child 439 20e2e561fb14
--- a/Makefile	Sat Apr 02 00:01:29 2016 +0300
+++ b/Makefile	Sat Apr 02 00:26:34 2016 +0300
@@ -311,7 +311,8 @@
 .PHONY: all
 all: dict
 
-.PHONY: dict
+.PHONY: dict dictd c5
+dictd c5: dict
 dict: $(DICTDZ_FILES) $(INDEX_FILES)
 
 #  --case-sensitive
@@ -321,6 +322,9 @@
 dist/dictd/%.dict.dz: dist/dictd/%.dict
 	dictzip -c $< >$@
 
+GADICT_SUFFIXES := en-ru+uk en-ru en-uk voa
+.SECONDARY: $(patsubst %,dist/dictd/gadict_%.c5.name,$(GADICT_SUFFIXES))
+.SECONDARY: $(patsubst %,dist/dictd/gadict_%.c5.url,$(GADICT_SUFFIXES))
 
 dist/dictd/%.c5.name dist/dictd/%.c5.url: dist/dictd/%.c5
 	: