Commit b975e346 authored by Mark Donohoe's avatar Mark Donohoe

Enabled processing and installation of db directory. dbcreate and the sql to...

Enabled processing and installation of db directory.  dbcreate and the sql to create the empty fossology db are now installed.  fo-postinstall will need them.

git-svn-id: http://svn.code.sf.net/p/fossology/code/branches/fossology2.0/fossology@5124 a5643f74-2041-0410-a2b9-94ffef304a07
parent c7ed3b60
......@@ -4,7 +4,6 @@
# Create and install:
# fo-postinstall
# SYSCONFDIR/db.conf
# SYSCONFDIR/VERSION
TOP=..
VARS=$(TOP)/Makefile.conf
......@@ -14,7 +13,7 @@ CONFPATH=$(SYSCONFDIR)
# default version is the scm revision number
-DVERSION=$(SCM_REV)
all: fo-postinstall defconf/Db.conf defconf/fossology.conf
all: fo-postinstall defconf/Db.conf defconf/fossology.conf db/dbcreate
# include the preprocessing stuff
include $(TOP)/Makefile.process
......@@ -29,9 +28,12 @@ defconf/Db.conf: defconf/Db.conf-process
# generate fossology.conf
defconf/fossology.conf: defconf/fossology.conf-process
# create dbcreate
$(MAKE) -s -C db
install: all
$(INSTALL_PROGRAM) fo-postinstall $(DESTDIR)$(LIBEXECDIR)/fo-postinstall
$(MAKE) -s -C db install
echo "Making configuration directories"; \
if [ ! -e $(DESTDIR)$(CONFPATH) ] ; then \
mkdir -p $(DESTDIR)$(CONFPATH); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment