mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
debian: fix sphinx docs
- use dh_sphinxdoc to get rid of embedded JS
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit e1e2ea84ee
)
This commit is contained in:
parent
abc5653c9a
commit
3a42c62d81
5
debian/control
vendored
5
debian/control
vendored
|
@ -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
|
||||
|
|
8
debian/rules
vendored
8
debian/rules
vendored
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue