equal
deleted
inserted
replaced
129 # Project dirs/files. |
129 # Project dirs/files. |
130 |
130 |
131 pkgname = gadict |
131 pkgname = gadict |
132 fullpkgname = $(pkgname)-$(vmajor).$(vminor) |
132 fullpkgname = $(pkgname)-$(vmajor).$(vminor) |
133 |
133 |
|
134 PY_FILES := $(wildcard py/gadict*.py) |
|
135 |
134 # GADICT_FILES := $(wildcard *.gadict) |
136 # GADICT_FILES := $(wildcard *.gadict) |
135 GADICT_FILES := gadict_en-ru+ua.gadict |
137 GADICT_FILES := gadict_en-ru+ua.gadict |
136 |
138 |
137 C5_FILES := $(patsubst %.gadict,dist/dictd/%.c5,$(GADICT_FILES)) |
139 C5_FILES := $(patsubst %.gadict,dist/dictd/%.c5,$(GADICT_FILES)) |
138 DICT_FILES := $(C5_FILES:.c5=.dict) |
140 DICT_FILES := $(C5_FILES:.c5=.dict) |
320 |
322 |
321 dist/dictd/%.dict.dz: dist/dictd/%.dict |
323 dist/dictd/%.dict.dz: dist/dictd/%.dict |
322 dictzip -c $< >$@ |
324 dictzip -c $< >$@ |
323 |
325 |
324 # -B suppress __pycache__ dir |
326 # -B suppress __pycache__ dir |
325 dist/dictd/%.c5: %.gadict | dist/dictd |
327 dist/dictd/%.c5: %.gadict py/gadict.py py/gadict_c5.py | dist/dictd |
326 python3 -B py/gadict_c5.py $< $@ |
328 python3 -B py/gadict_c5.py $< $@ |
327 |
329 |
328 dist/dictd: |
330 dist/dictd: |
329 mkdir -p $@ |
331 mkdir -p $@ |
330 |
332 |