blob: 372baaf1865336c49a5f9843946f5c57f1180052 (
plain)
1
2
3
4
5
6
7
8
|
PYTARGETS += ../bin/mdro
PYI18NSRCS += emc/usr_intf/mdro/mdro.py
../bin/mdro: emc/usr_intf/mdro/mdro.py
@$(ECHO) Syntax checking python script $(notdir $@)
$(Q)$(PYTHON) -m py_compile $<
$(ECHO) Copying python script $(notdir $@)
$(Q)(echo '#!$(PYTHON)'; sed '1 { /^#!/d; }' $<) > $@.tmp && chmod +x $@.tmp && mv -f $@.tmp $@
|