mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-14 09:55:40 +00:00
debianpkg: install HTML docs, drop tools/
No reason not to enable HTML docs really. Also why the f* were we installing the entire tools/ directory into the doc package? Signed-off-by: David Lamparter <equinox@diac24.net>
This commit is contained in:
parent
fabbd66dce
commit
31bbde19e1
@ -97,7 +97,9 @@ Package: frr-doc
|
||||
Section: doc
|
||||
Architecture: all
|
||||
Depends:
|
||||
${misc:Depends}
|
||||
${misc:Depends},
|
||||
libjs-jquery,
|
||||
libjs-underscore
|
||||
Suggests: frr
|
||||
Description: BGP/OSPF/RIP/RIPng/ISIS/PIM/LDP routing daemon (documentation)
|
||||
This package includes info files for frr, a free software which manages
|
||||
|
@ -1,2 +1,2 @@
|
||||
tools
|
||||
tools/zebra.el
|
||||
debian/README.Debian
|
||||
|
@ -95,7 +95,7 @@ endif
|
||||
#
|
||||
|
||||
ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
|
||||
USE_DOC=--enable-doc
|
||||
USE_DOC=--enable-doc --enable-doc-html
|
||||
else
|
||||
USE_DOC=--disable-doc
|
||||
endif
|
||||
@ -171,6 +171,12 @@ endif
|
||||
find debian/tmp -name '*.la' -o -name '*.a' -o -name 'lib*.so' | xargs rm -f
|
||||
rm -rf debian/tmp/usr/include
|
||||
|
||||
# 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 New Issue
Block a user