Skip to content
Snippets Groups Projects
Commit 10f9af39 authored by Anders Lindh Olsson's avatar Anders Lindh Olsson :8ball:
Browse files

move phony target declarations to above their targets; follow styleguide

parent b91d9d83
No related branches found
No related tags found
No related merge requests found
......@@ -24,12 +24,14 @@ LEVEL?=2
GENERATED_DEP_FILE:=$(E3_MODULES_INSTALL_LOCATION_LIB)/$(EPICS_HOST_ARCH)/$(E3_MODULE_NAME).dep
.PHONY: env vars header vers dep _dep1 _dep2
.PHONY: env _dep1 _dep2
## Print relevant environment variables
.PHONY: vars
vars: header
$(foreach v, $(E3_MODULES_VARIABLES), $(info $(v) = $($(v)))) @#noop
.PHONY: header
header:
$(QUIET)echo ""
$(QUIET)echo "------------------------------------------------------------"
......@@ -47,6 +49,7 @@ else
endif
## Displays dependency information, both configured and generated
.PHONY: dep
dep: _dep2
$(QUIET)echo "require $(E3_MODULE_NAME),$(E3_MODULE_VERSION)"
$(QUIET)echo "< configured ..."
......@@ -56,6 +59,7 @@ ifneq ("$(wildcard $(GENERATED_DEP_FILE))","")
$(QUIET)tail -n+2 $(GENERATED_DEP_FILE)
endif
.PHONY: vers
vers:
$(QUIET)echo "EPICS_MODULE_TAG:=$(EPICS_MODULE_TAG), origin : $(origin EPICS_MODULE_TAG)"
$(QUIET)echo "E3_MODULE_VERSION:=$(E3_MODULE_VERSION), origin : $(origin E3_MODULE_VERSION)"
......
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