add normalization and db

This commit is contained in:
Motiejus Jakštys 2020-12-15 23:58:02 +02:00
parent a0469cf9bc
commit e502d4ec38

View File

@ -39,9 +39,11 @@ all.xyz: $(XYZ)
.INTERMEDIATE: $(XYZ) .INTERMEDIATE: $(XYZ)
%.xyz: %.zip %.xyz: %.zip
unzip -qq -c $< $@ | \ unzip -qq -c $< $@ | \
sed -e 's/^ \+//' -e 's/ \+/,/g' | \
./clip.awk $(addprefix -v ,$(BOUNDS)) | \ ./clip.awk $(addprefix -v ,$(BOUNDS)) | \
$(SORT) > $@ $(SORT) > $@
db/.ready: managedb db/.ready: managedb
mkdir -p db
./managedb start ./managedb start
touch $@ touch $@