summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/control5
-rwxr-xr-xdebian/rules8
2 files changed, 3 insertions, 10 deletions
diff --git a/debian/control b/debian/control
index 5f51bca538..01c9409314 100644
--- a/debian/control
+++ b/debian/control
@@ -104,9 +104,8 @@ Package: frr-doc
Section: doc
Architecture: all
Multi-Arch: foreign
-Depends: libjs-jquery,
- libjs-underscore,
- ${misc:Depends}
+Depends: ${misc:Depends},
+ ${sphinxdoc:Depends}
Suggests: frr
Conflicts: quagga-doc
Description: FRRouting suite - user manual
diff --git a/debian/rules b/debian/rules
index 083464034f..bed16b86a1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -36,7 +36,7 @@ endif
export PYTHON=python3
%:
- dh $@ -Bbuild
+ dh $@ -Bbuild --with=sphinxdoc
override_dh_auto_configure:
$(shell dpkg-buildflags --export=sh); \
@@ -93,12 +93,6 @@ override_dh_auto_install:
rm -rf debian/tmp/usr/include
-rm debian/tmp/usr/lib/frr/ssd
-# use installed js libraries
- -rm -f debian/tmp/usr/share/doc/frr/html/_static/jquery.js
- ln -s /usr/share/javascript/jquery/jquery.js debian/tmp/usr/share/doc/frr/html/_static/jquery.js
- -rm -f debian/tmp/usr/share/doc/frr/html/_static/underscore.js
- ln -s /usr/share/javascript/underscore/underscore.js debian/tmp/usr/share/doc/frr/html/_static/underscore.js
-
override_dh_auto_build:
dh_auto_build -- $(MAKE_SILENT)