summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-05-22 14:12:40 +0200
committerJohannes Berg <johannes@sipsolutions.net>2008-05-22 14:12:40 +0200
commit7ca01471c70db898d2c234c0cccb6e8cdc008d5d (patch)
treebecf8cd12b5e042410812cda0b26eded4857c0e8 /Makefile
parenta9bd04da61b254c6729f36a43b43dfbd008fba68 (diff)
downloadcrda-7ca01471c70db898d2c234c0cccb6e8cdc008d5d.tar.gz
crda-7ca01471c70db898d2c234c0cccb6e8cdc008d5d.tar.bz2
crda-7ca01471c70db898d2c234c0cccb6e8cdc008d5d.zip
add script to generate binary database
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 275df04..766bb7e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,12 @@
+all: regulatory.bin
+regulatory.bin: regulatory.sqlite dbgen.py
+ @./dbgen.py
+
+clean:
+ @rm -f regulatory.sqlite regulatory.bin *~
+
regulatory.sqlite: db/*.sql
@rm -f requlatory.sqlite
@for i in db/*.sql ; do \