Skip to content
Snippets Groups Projects
Commit 0ae28e75 authored by Simon Rose's avatar Simon Rose
Browse files

Merge branch 'sub_tmp' into 'master'

E3-379: Expand substitution/template files within driver.makefile

See merge request e3/e3-require!33
parents b530967c 5c553e48
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,15 @@ help:
## Install current module to $(EPICS_BASE)/require/$(E3_REQUIRE_VERSION)/siteMods
install: install_module install_links
install_module: build db
.PHONY: db
db: err_no_db_rule
.PHONY: err_no_db_rule
err_no_db_rule:
$(error The 'db' target has been discontinued. If you have custom database expansion rule to use, please contact the e3 team)
.PHONY: install_module
install_module: build db_internal
$(QUIET) $(E3_MODULE_MAKE_CMDS) install
## Uninstall the current module
......@@ -50,6 +58,10 @@ prebuild: conf
debug: conf
$(QUIET) $(E3_MODULE_MAKE_CMDS) debug
.PHONY: db_internal
db_internal: conf
$(QUIET) $(E3_MODULE_MAKE_CMDS) db_internal
## Clean, build, and install the current module
rebuild: clean build install
......
db: $(SUBS)
$(SUBS):
@printf "Inflating database ... %44s >>> %40s \n" "$@" "$(basename $(@)).db"
@rm -f $(basename $(@)).db.d $(basename $(@)).db
@$(MSI) -D $(USR_DBFLAGS) -o $(basename $(@)).db -S $@ > $(basename $(@)).db.d
@$(MSI) $(USR_DBFLAGS) -o $(basename $(@)).db -S $@
.PHONY: db $(SUBS)
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment