Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
| 1 |
# convert all ../data/*.sor files to name_*.py Python modules |
| 2 |
BIN=../bin |
| 3 |
|
| 4 |
all: org/Numbertext/Soros.py org/Numbertext/places.py org/Numbertext/locales.py \ |
| 5 |
$(addprefix numbertext_, $(addsuffix .py, $(basename $(notdir $(wildcard ../data/*.sor))))) |
| 6 |
|
| 7 |
org/Numbertext/Soros.py: ../src/Soros.py |
| 8 |
cp ../src/Soros.py org/Numbertext/ |
| 9 |
|
| 10 |
org/Numbertext/places.py: ../src/places.py |
| 11 |
cp ../src/places.py org/Numbertext/ |
| 12 |
|
| 13 |
#org/Numbertext/%.py: ../data/%.sor $(BIN)/Convert.py |
| 14 |
numbertext_%.py: ../data/%.sor $(BIN)/Convert.py |
| 15 |
python $(BIN)/Convert.py $< >$@ |
| 16 |
|
| 17 |
org/Numbertext/locales.py: $(addprefix numbertext_, $(addsuffix .py, $(basename $(notdir $(wildcard ../data/*.sor))))) |
| 18 |
python $(BIN)/locales.py $(basename $(notdir $(wildcard ../data/*.sor))) $(shell cat ../data/*.sor | grep -Eo '\[:.....:]' | tr '-' '_' | tr -d '[]:' | sort | uniq) >org/Numbertext/locales.py |
| 19 |
|
| 20 |
clean: |
| 21 |
rm -f $(addprefix numbertext_, $(addsuffix .py, $(basename $(notdir $(wildcard ../data/*.sor))))) |
| 22 |
rm -f org/Numbertext/places.py* org/Numbertext/locales.py* org/Numbertext/Soros.py* |