From ab867e3bee5433556ed3b1fe723249393fc5cb42 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Fri, 12 May 2017 15:29:57 -0400 Subject: [PATCH] add SKIP_DB_INSTALL for package build --- debian/rules | 2 +- devsupApp/Db/Makefile | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index d645b1c..1a5113b 100755 --- a/debian/rules +++ b/debian/rules @@ -2,7 +2,7 @@ # Don't want to enable conditional deps. by default # but do want to build then for packaging -EXTRA=AUTOSAVE=/usr/lib/epics +EXTRA=AUTOSAVE=/usr/lib/epics SKIP_DB_INSTALL=YES export DH_VERBOSE=1 diff --git a/devsupApp/Db/Makefile b/devsupApp/Db/Makefile index 0be793b..4b6c2d4 100644 --- a/devsupApp/Db/Makefile +++ b/devsupApp/Db/Makefile @@ -12,6 +12,8 @@ include $(TOP)/configure/CONFIG # databases, templates, substitutions like this #DB += xxx.db +ifneq ($(SKIP_DB_INSTALL),YES) + ifneq ($(DEVIOCSTATS),) DB_INSTALLS += $(DEVIOCSTATS)/db/iocAdminSoft.db endif @@ -20,6 +22,8 @@ ifneq ($(AUTOSAVE),) DB_INSTALLS += $(firstword $(wildcard $(AUTOSAVE)/asApp/Db/save_restoreStatus.db $(AUTOSAVE)/db/save_restoreStatus.db)) endif +endif + #---------------------------------------------------- # If .db template is not named *.template add # _template =