X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FIM.git;a=blobdiff_plain;f=Makefile;h=706bab445414b3a066422f94e42c560bd371f946;hp=695c49ecd42326cab0e8d77ac5154e3bdd376e56;hb=d4f15a7637357eeb74f105d843ab0a990c4c5638;hpb=0264037b8d9594d240051247ae7d9cb0618deec4;ds=sidebyside diff --git a/Makefile b/Makefile index 695c49e..706bab4 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ Q?=@ PYANG_OPTIONS := -Werror -all: $(PYTHON_MODELS) pyangbind $(PYTHON_JSONSCHEMAS) +all: $(PYTHON_MODELS) pyangbind $(MAKE) package $(OUT_DIR): @@ -52,12 +52,20 @@ $(RW_PB_EXT): package: tox -e build -pyangbind: +pyangbind: pyang git clone https://github.com/robshakir/pyangbind cd pyangbind; python 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 + cd pyang; python setup.py --command-packages=stdeb.command bdist_deb; cd .. + mkdir -p deb_dist + cp pyang/deb_dist/*.deb deb_dist pyang-json-schema-plugin: git clone https://github.com/cmoberg/pyang-json-schema-plugin clean: - $(Q)rm -rf build dist osm_im.egg-info deb deb_dist *.gz pyangbind pyang-json-schema-plugin $(OUT_DIR) + $(Q)rm -rf build dist osm_im.egg-info deb deb_dist *.gz pyang pyangbind pyang-json-schema-plugin $(OUT_DIR)