Bring back the llvm manpages (Closes: #995684) Were generated at the wrong place

This commit is contained in:
Sylvestre Ledru 2021-10-18 11:07:30 +02:00
parent 1b8f088956
commit 66dfda543c
4 changed files with 11 additions and 3 deletions

2
debian/changelog vendored
View File

@ -3,6 +3,8 @@ llvm-toolchain-13 (1:13.0.0-6) unstable; urgency=medium
* Remove omp-device-info from LLVMExports.cmake (Closes: #996551)
* Fix a atomic issue. Thanks to YunQiang Su for the patch
Partial fix for #995827
* Bring back the llvm manpages (Closes: #995684)
Were generated at the wrong place
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 15 Oct 2021 10:45:30 +0200

View File

@ -1,4 +1,4 @@
docs/_build/man/*
llvm/docs/_build/man/*
debian/man/llvm-dwarfdump-@LLVM_VERSION@.1
debian/man/llvm-mc-@LLVM_VERSION@.1
debian/man/llvm-objdump-@LLVM_VERSION@.1

View File

@ -44,6 +44,12 @@ if grep "File format not recognized" foo.log; then
exit 1
fi
# Test #995684
if test /usr/share/man/man1/llc-$VERSION.1.gz; then
echo "llvm manpage are missing (using llc as an example)"
exit 1
fi
if test ! -f /usr/bin/scan-build-$VERSION; then
echo "Install clang-tools-$VERSION"
exit 1

4
debian/rules vendored
View File

@ -597,7 +597,7 @@ ifeq (${POLLY_ENABLE},yes)
endif
# Rename manpages
d=$(CURDIR)/docs/_build/man/; \
d=$(CURDIR)/llvm/docs/_build/man/; \
if test -d $$d; then \
cd $$d; \
for f in *.1; do \
@ -966,7 +966,7 @@ override_dh_gencontrol:
override_dh_auto_clean:
rm -rf $(TARGET_BUILD) tools/clang/include/clang/Debian/debian_path.h docs/_build/ clang/docs/_build tools/clang/docs/_html/
rm -rf $(TARGET_BUILD) tools/clang/include/clang/Debian/debian_path.h llvm/docs/_build/ clang/docs/_build tools/clang/docs/_html/
# QA tools
rm -rf cov-int/ reports/
rm -f `ls debian/*.in|sed -e "s|.in$$||g"`