add SKIP_DB_INSTALL for package build

This commit is contained in:
Michael Davidsaver
2017-05-12 15:29:57 -04:00
parent 2fbe91c884
commit ab867e3bee
2 changed files with 5 additions and 1 deletions

2
debian/rules vendored
View File

@ -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

View File

@ -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 <anyname>.db template is not named <anyname>*.template add
# <anyname>_template = <templatename>