summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2017-08-17 21:42:19 -0400
committerDaniil Baturin <daniil@baturin.org>2017-08-17 21:42:19 -0400
commit8cc396c20398e01f4af76d386d87a38811cead06 (patch)
tree733de904aa6062bddce67159b602585b6ff099db /debian/rules
parent6b3040c5b6cf3a7b545875e646c450cbb96ae8d6 (diff)
downloadvyos-1x-8cc396c20398e01f4af76d386d87a38811cead06.tar.gz
vyos-1x-8cc396c20398e01f4af76d386d87a38811cead06.zip
T353: add the Python library for reading VyOS config to the new package.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules9
1 files changed, 8 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 2d33f6ac8..e76b80267 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,11 @@
#!/usr/bin/make -f
%:
- dh $@
+ dh $@ --with python3, --with quilt
+
+override_dh_auto_build:
+
+override_dh_auto_install:
+ dh_install -pvyos-1x
+ cd python; python3 setup.py install --install-layout=deb --root ../debian/vyos-1x; cd ..
+