nicer
authorVolker Birk <vb@pep-project.org>
Mon, 05 Oct 2015 02:22:55 +0200
changeset 366cfc6e24badaa
parent 365 ef8bbe1f593b
child 367 17ecd771a39a
nicer
db/CREATE_DB.txt
db/Makefile
     1.1 --- a/db/CREATE_DB.txt	Mon Oct 05 02:11:50 2015 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,8 +0,0 @@
     1.4 -To create system.db:
     1.5 -
     1.6 -1) run the create script
     1.7 -
     1.8 -2) import wordlists, 65535 words each language
     1.9 -
    1.10 -3) insert an i18n text per language
    1.11 -
     2.1 --- a/db/Makefile	Mon Oct 05 02:11:50 2015 +0200
     2.2 +++ b/db/Makefile	Mon Oct 05 02:22:55 2015 +0200
     2.3 @@ -4,8 +4,7 @@
     2.4  
     2.5  system.db: create_system_db.sql
     2.6  	sqlite3 -batch $@ < $<
     2.7 -	echo .import en.csv wordlist | sqlite3 -batch -csv $@
     2.8 -	echo .import de.csv wordlist | sqlite3 -batch -csv $@
     2.9 +	for c in *.csv ; do echo $$c ; echo .import "$$c" wordlist | sqlite3 -batch -csv $@ ; done
    2.10  
    2.11  .PHONY: clean install
    2.12