Makefile for system.db
authorVolker Birk <vb@pep-project.org>
Mon, 05 Oct 2015 02:11:50 +0200
changeset 365ef8bbe1f593b
parent 364 605a4990915c
child 366 cfc6e24badaa
Makefile for system.db
db/Makefile
test/pep_Dokument_Titel.pdf
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/db/Makefile	Mon Oct 05 02:11:50 2015 +0200
     1.3 @@ -0,0 +1,16 @@
     1.4 +include ../Makefile.conf
     1.5 +
     1.6 +db: system.db
     1.7 +
     1.8 +system.db: create_system_db.sql
     1.9 +	sqlite3 -batch $@ < $<
    1.10 +	echo .import en.csv wordlist | sqlite3 -batch -csv $@
    1.11 +	echo .import de.csv wordlist | sqlite3 -batch -csv $@
    1.12 +
    1.13 +.PHONY: clean install
    1.14 +
    1.15 +install: system.db
    1.16 +	cp system.db $(SYSTEM_DB)
    1.17 +
    1.18 +clean:
    1.19 +	rm -f system.db
     2.1 Binary file test/pep_Dokument_Titel.pdf has changed