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

This commit is contained in:
Sylvestre Ledru 2021-10-18 13:30:12 +02:00
parent 49601274e7
commit 4b26a33863
4 changed files with 13 additions and 3 deletions

4
debian/changelog vendored
View File

@ -17,6 +17,10 @@ llvm-toolchain-12 (1:12.0.1-11) unstable; urgency=medium
* d/rules: Add amdgcn-mesa-mesa3d to libclc build.
Closes: #993904, #995069
[ Sylvestre Ledru ]
* Bring back the llvm manpages (Closes: #995684)
Were generated at the wrong place
-- Erik Maciejewski <mr.emacski@gmail.com> Sat, 16 Oct 2021 09:07:25 -0700
llvm-toolchain-12 (1:12.0.1-10) unstable; urgency=medium

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 ! -f /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

@ -585,7 +585,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 \
@ -943,7 +943,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"`