add SKIP_DB_INSTALL for package build
This commit is contained in:
2
debian/rules
vendored
2
debian/rules
vendored
@ -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
|
||||
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user