SHA256
1
0
forked from pool/llvm

- Add pre-generated doc files, remove sphinx dependency

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=202
This commit is contained in:
Ismail Dönmez 2013-01-11 11:56:52 +00:00 committed by Git OBS Bridge
parent da799d5e4c
commit efb7f0ac27
3 changed files with 11 additions and 8 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:af496741ab0e11a3ebe0355251a0c626964d7ea1b39734a207bd27932703a55c
size 17651967
oid sha256:9438b98fdd9739fbceec5f6dd852fc0b1c99b78513e27f453b8d8647059a76b4
size 19632648

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jan 11 11:56:09 UTC 2013 - idonmez@suse.com
- Add pre-generated doc files, remove sphinx dependency
-------------------------------------------------------------------
Tue Jan 8 15:16:56 UTC 2013 - llunak@suse.com

View File

@ -66,7 +66,6 @@ BuildRequires: glibc-devel-32bit
BuildRequires: libffi-devel
BuildRequires: libtool
BuildRequires: python-base
BuildRequires: python-sphinx
# llvm does not work on ppc, only ppc64
ExcludeArch: ppc
@ -284,13 +283,12 @@ mv %{buildroot}%{_prefix}/lib %{buildroot}%{_prefix}/lib64
# Build man/html pages
cd docs
make -f Makefile.sphinx html man
# Docs are prebuilt due to sphinx dependency -- cartman
#make -f Makefile.sphinx html man
rm -rf %{buildroot}/usr/docs
mkdir -p %{buildroot}%{_docdir}/llvm
gzip _build/man/*.1
mv _build/man/* %{buildroot}/usr/share/man/man1
mv _build/html/* %{buildroot}%{_docdir}/llvm/
rm -rf _build
cp _build/man/* %{buildroot}/usr/share/man/man1
cp _build/html/* %{buildroot}%{_docdir}/llvm/
cd ../tools/clang/docs
mkdir -p %{buildroot}%{_docdir}/llvm-clang/html