Makefile: add trees to target all
[osm/IM.git] / Makefile
index 9315342..2d82418 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,7 @@ Q?=@
 
 PYANG_OPTIONS := -Werror
 
-all: $(PYTHON_MODELS) pyangbind
+all: $(PYTHON_MODELS) pyangbind trees
        $(MAKE) package
 
 trees: $(YANG_DESC_TREES) $(YANG_DESC_JSTREES) $(YANG_RECORD_TREES) $(YANG_RECORD_JSTREES)
@@ -86,8 +86,8 @@ package:
        tox -e build
 
 pyangbind: pyang
-       git clone https://github.com/robshakir/pyangbind
-       cd pyangbind; python setup.py --command-packages=stdeb.command bdist_deb; cd ..
+       git clone https://github.com/alf-tierno/pyangbind
+       cd pyangbind; git checkout issue151; python setup.py --command-packages=stdeb.command bdist_deb; cd ..
        mkdir -p deb_dist
        cp pyangbind/deb_dist/*.deb deb_dist