Skip to content
Snippets Groups Projects
Commit b887530f authored by Claudio Scafuri's avatar Claudio Scafuri :speech_balloon:
Browse files

add makefile for INAU

parent 26d61b17
No related branches found
Tags 1.0.2
No related merge requests found
......@@ -17,3 +17,4 @@ core*
software
oldsrc
CVS
*-srv
Makefile 0 → 100644
NAME_SRV=cmm
PY_FILES += $(wildcard src/*.py)
default: bin/${NAME_SRV} ${PY_FILES}
@cp ${PY_FILES} bin/${NAME_SRV}
bin/${NAME_SRV}:
@test -d $@ || mkdirhier $@
clean:
@rm -fr bin/ src/*~
.PHONY: clean
......@@ -12,7 +12,7 @@ The device is written in python 2.7 and needs the tango python bindings
## Installation & deployment
install src/Cmm.py and src/cmm-srv in the execution directory of the target system
use INAU facility
## History
......
#!/usr/bin/env python
#
# Template of main python server wrapper
# Solves the problem of pogo generated Tango server file names which are not easily handled by databeds and Starter.
# 1) copy this template in the server directoy using the canonical server (executable) name: cp ../python-srv.template myclass-srv
# 2) chmod +x myclass-srv
# 3) edit myclass-srv ename MyClass to the actual class name of the python Tango server (you can also clean up these notes)
#
from Cmm import main
if __name__ == '__main__':
main()
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment