p≡p engine
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
336 B

include ../Makefile.conf
db: system.db
dicos=$(wildcard *.csv)
system.db: create_system_db.sql $(dicos)
-mv -f $@ $@~
sqlite3 -batch $@ < $<
for c in $(dicos); do echo $$c ; echo .import "$$c" wordlist | sqlite3 -batch -csv $@ ; done
.PHONY: clean install
install: system.db
cp system.db $(SYSTEM_DB)
rm -f system.db