1 # -------------------------------------------------------------------------
2 # Copyright (c) 2015-2017 AT&T Intellectual Property
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 # -------------------------------------------------------------------------
21 python CommonLogger.py
23 python3 CommonLogger.py -k -v
24 # python CommonLogger_test.py
25 # python3 CommonLogger_test.py
27 # STAGEDIR is overridden in ../makefile
30 build: CommonLogger.html
31 mkdir -p $(STAGEDIR)/python
32 cp -p *.py *.config *.md CommonLogger.html $(STAGEDIR)/python
33 chmod a+x $(STAGEDIR)/python/*.py
35 CommonLogger.html: CommonLogger.py
36 pydoc -w ./CommonLogger.py
39 rm -rf __pycache__ *.pyc CommonLogger.html