install py files
This commit is contained in:
@ -5,9 +5,12 @@ include $(TOP)/configure/CONFIG
|
||||
TARGETS = $(CONFIG_TARGETS)
|
||||
CONFIGS += $(subst ../,,$(wildcard $(CONFIG_INSTALLS)))
|
||||
|
||||
TARGETS += CONFIG_PY
|
||||
TARGETS += CONFIG_PY RULES_PY
|
||||
|
||||
include $(TOP)/configure/RULES
|
||||
|
||||
CONFIG_PY: $(TOP)/makehelper.py
|
||||
$(PYTHON) $< $@
|
||||
|
||||
RULES_PY: ../RULES_PY
|
||||
install -m644 $< $@
|
||||
|
9
configure/RULES_PY
Normal file
9
configure/RULES_PY
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
PY_FILES = $(PY:%=$(INSTALL_LOCATION)/python/%)
|
||||
|
||||
$(PY_FILES) : $(INSTALL_LOCATION)/python/%: ../%
|
||||
@[ -d $(dir $@) ] || install -d $(dir $@)
|
||||
@echo "Install PROTO $@"
|
||||
install -m 644 $< $@
|
||||
|
||||
build: $(PY_FILES)
|
Reference in New Issue
Block a user