projects
/
osm
/
IM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Renamed osm-im package to osm-imdocs. Added LICENSE to deb pkg
[osm/IM.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
2d82418
..
4faeb5f
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-16,8
+16,8
@@
# NOTE: pyang and pyangbind are required for build
PYANG:= pyang
# NOTE: pyang and pyangbind are required for build
PYANG:= pyang
-PYBINDPLUGIN:=$(shell /usr/bin/env python -c \
- 'import pyangbind; import os; print
"%s/plugin" % os.path.dirname(pyangbind.__file__
)')
+PYBINDPLUGIN:=$(shell /usr/bin/env python
3
-c \
+ 'import pyangbind; import os; print
("{}/plugin".format(os.path.dirname(pyangbind.__file__))
)')
YANG_DESC_MODELS := vnfd nsd
YANG_RECORD_MODELS := vnfr nsr
YANG_DESC_MODELS := vnfd nsd
YANG_RECORD_MODELS := vnfr nsr
@@
-84,16
+84,25
@@
$(RW_PB_EXT):
package:
tox -e build
package:
tox -e build
+ tox -e build3
+ ./build-docs.sh
+
pyangbind: pyang
git clone https://github.com/alf-tierno/pyangbind
pyangbind: pyang
git clone https://github.com/alf-tierno/pyangbind
- cd pyangbind; git checkout issue151; python setup.py --command-packages=stdeb.command bdist_deb; cd ..
+ cd pyangbind; git checkout issue151; \
+ python setup.py --command-packages=stdeb.command bdist_deb; \
+ python3 setup.py --command-packages=stdeb.command bdist_deb; \
+ cd ..
mkdir -p deb_dist
cp pyangbind/deb_dist/*.deb deb_dist
pyang:
git clone https://github.com/mbj4668/pyang
mkdir -p deb_dist
cp pyangbind/deb_dist/*.deb deb_dist
pyang:
git clone https://github.com/mbj4668/pyang
- cd pyang; python setup.py --command-packages=stdeb.command bdist_deb; cd ..
+ cd pyang; \
+ python setup.py --command-packages=stdeb.command bdist_deb; \
+ python3 setup.py --command-packages=stdeb.command bdist_deb; \
+ cd ..
mkdir -p deb_dist
cp pyang/deb_dist/*.deb deb_dist
mkdir -p deb_dist
cp pyang/deb_dist/*.deb deb_dist