summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorme_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac>2012-08-13 22:34:10 +0000
committerme_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac>2012-08-13 22:34:10 +0000
commit55ef99afd7118414c7379ab4de9d4bf6bce94b01 (patch)
treeb87cabc7e338e3d5a81eb1200e431ac33c5f13f3 /Makefile.am
parent66a561c45becb9b193353f97a22afdd88de3869b (diff)
downloadpica-pica-55ef99afd7118414c7379ab4de9d4bf6bce94b01.tar.gz
pica-pica-55ef99afd7118414c7379ab4de9d4bf6bce94b01.zip
creating initial database during build process; README and LICENSE files added
git-svn-id: svn://localhost/project_picapica/trunk@163 fb96df88-216d-11de-830c-f3023f12d8ac
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index df6cc2a..11a6441 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -14,4 +14,16 @@ pica_node_CPPFLAGS = -DPICA_PREFIX=\"$(prefix)\"
dist_pkgdata_DATA = CA.pem
+pkglocalstatedir = $(localstatedir)/pica-node
+dist_pkglocalstate_DATA = nodelist.db
+
+nodelist.db: nodelist_db_create.sql
+ echo "Creating and initializing nodelist database..."
+ sqlite3 $@ "`cat $<`"
+
+
+EXTRA_DIST = nodelist_db_create.sql \
+ iniparser/LICENSE \
+ LICENSE \
+ README