1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
#!/usr/bin/make -f
# rocm-doc B-D on python3-sphinxcontrib.datatemplates, which is currently
# pending review by the DFSG team. The rocm-doc binary package cannot yet be
# built, but will be enabled once the required B-D are available.
#
# For the moment, this source package only provides test and dev metapackages.
#!/usr/bin/make -f
%:
dh $@
override_dh_auto_configure-arch:
:
override_dh_auto_test-arch:
:
execute_before_dh_install-arch:
:
override_dh_auto_configure-indep:
:
override_dh_auto_test-indep:
:
override_dh_auto_install-indep:
:
# Once the necessary B-D are available, the rules below can be enabled
# to build rocm-doc
# See debhelper(7) (uncomment to enable).
# Output every command that modifies files on the build system.
#export DH_VERBOSE = 1
export PYBUILD_NAME=rocm
%:
dh $@ --with sphinxdoc --buildsystem=none
execute_after_dh_auto_build-indep: export http_proxy=127.0.0.1:9
execute_after_dh_auto_build-indep: export https_proxy=127.0.0.1:9
execute_after_dh_auto_build-indep:
export patchconfigpy="True" ; \
rocm-docs-build
# Remove fonts that will be symlinks
rm -rf build/html/_static/fonts
rm -rf build/html/_static/vendor
override_dh_clean:
dh_clean
rm -rf build
rm -f \
_readthedocs/html/downloads/compatibility-matrix-historical-6.0.csv \
docs/about/release-notes.md \
docs/release/changelog.md \
docs/sphinx/_toc.yml
|