install python per epics arch
This commit is contained in:
@ -1,9 +1,14 @@
|
||||
ifneq ($(T_A),)
|
||||
|
||||
PY_FILES = $(PY:%=$(INSTALL_LOCATION)/python/%)
|
||||
PY_INSTALL_DIR = $(INSTALL_LOCATION)/python/$(T_A)
|
||||
|
||||
$(PY_FILES) : $(INSTALL_LOCATION)/python/%: ../%
|
||||
PY_FILES += $(PY:%=$(PY_INSTALL_DIR)/%)
|
||||
|
||||
$(PY_FILES) : $(PY_INSTALL_DIR)/%: ../%
|
||||
@[ -d $(dir $@) ] || install -d $(dir $@)
|
||||
@echo "Install PY $@"
|
||||
install -m 644 $< $@
|
||||
|
||||
build: $(PY_FILES)
|
||||
|
||||
endif
|
||||
|
Reference in New Issue
Block a user