equal
deleted
inserted
replaced
132 fullpkgname = $(pkgname)-$(vmajor).$(vminor) |
132 fullpkgname = $(pkgname)-$(vmajor).$(vminor) |
133 |
133 |
134 PY_FILES := $(wildcard py/gadict*.py) |
134 PY_FILES := $(wildcard py/gadict*.py) |
135 |
135 |
136 # GADICT_FILES := $(wildcard *.gadict) |
136 # GADICT_FILES := $(wildcard *.gadict) |
137 GADICT_FILES := gadict_en-ru+ua.gadict |
137 GADICT_FILES := gadict_en-ru+uk.gadict |
138 |
138 |
139 C5_FILES := $(patsubst %.gadict,dist/dictd/%.c5,$(GADICT_FILES)) |
139 C5_FILES := dist/dictd/gadict_en-ru+uk.c5 dist/dictd/gadict_voa.c5 |
|
140 ALL_C5_FILES := $(C5_FILES) dist/dictd/gadict_en-ru.c5 dist/dictd/gadict_en-uk.c5 |
140 DICT_FILES := $(C5_FILES:.c5=.dict) |
141 DICT_FILES := $(C5_FILES:.c5=.dict) |
141 DICTDZ_FILES := $(C5_FILES:.c5=.dict.dz) |
142 DICTDZ_FILES := $(C5_FILES:.c5=.dict.dz) |
142 INDEX_FILES := $(C5_FILES:.c5=.index) |
143 INDEX_FILES := $(C5_FILES:.c5=.index) |
143 |
144 |
144 RST_TMPL_FILE = dist/misc/rst.tmpl |
145 RST_TMPL_FILE = dist/misc/rst.tmpl |
324 |
325 |
325 dist/dictd/%.c5.name dist/dictd/%.c5.url: dist/dictd/%.c5 |
326 dist/dictd/%.c5.name dist/dictd/%.c5.url: dist/dictd/%.c5 |
326 : |
327 : |
327 |
328 |
328 # -B suppress __pycache__ dir |
329 # -B suppress __pycache__ dir |
329 dist/dictd/%.c5: %.gadict py/gadict.py py/gadict_c5.py | dist/dictd |
330 dist/dictd/gadict_en-ru+uk.c5: gadict_en-ru+uk.gadict py/gadict.py py/gadict_c5.py | dist/dictd |
330 python3 -B py/gadict_c5.py $< $@ |
331 python3 -B py/gadict_c5.py $< $@ |
|
332 |
|
333 dist/dictd/gadict_en-ru.c5: gadict_en-ru+uk.gadict py/gadict.py py/gadict_c5.py | dist/dictd |
|
334 python3 -B py/gadict_c5.py $< $@ ru |
|
335 echo "gadict En-Ru"> dist/dictd/gadict_en-ru.c5.name |
|
336 |
|
337 dist/dictd/gadict_en-uk.c5: gadict_en-ru+uk.gadict py/gadict.py py/gadict_c5.py | dist/dictd |
|
338 python3 -B py/gadict_c5.py $< $@ uk |
|
339 echo "gadict En-Uk"> dist/dictd/gadict_en-uk.c5.name |
|
340 |
|
341 dist/dictd/gadict_voa.c5: gadict_voa.gadict py/gadict.py py/gadict_c5.py | dist/dictd |
|
342 python3 -B py/gadict_c5.py $< $@ en |
331 |
343 |
332 dist/dictd: |
344 dist/dictd: |
333 mkdir -p $@ |
345 mkdir -p $@ |
334 |
346 |
335 ################################################################ |
347 ################################################################ |