db/Makefile
author Volker Birk <vb@pep-project.org>
Mon, 05 Oct 2015 02:11:50 +0200
changeset 365 ef8bbe1f593b
child 366 cfc6e24badaa
permissions -rw-r--r--
Makefile for system.db
     1 include ../Makefile.conf
     2 
     3 db: system.db
     4 
     5 system.db: create_system_db.sql
     6 	sqlite3 -batch $@ < $<
     7 	echo .import en.csv wordlist | sqlite3 -batch -csv $@
     8 	echo .import de.csv wordlist | sqlite3 -batch -csv $@
     9 
    10 .PHONY: clean install
    11 
    12 install: system.db
    13 	cp system.db $(SYSTEM_DB)
    14 
    15 clean:
    16 	rm -f system.db