mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
doc changes
Original commit message from CVS: doc changes
This commit is contained in:
parent
44bcc7b0a1
commit
7e0b9786ec
3 changed files with 13 additions and 8 deletions
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit 00d89f598b34ec2b5319856fe7b3f5625df28d48
|
Subproject commit e5997d9e2b4e162ad423f9b9ec3ac9b29e12bb05
|
|
@ -1,17 +1,19 @@
|
||||||
EXTRA_DIST=gstreamer.devhelp gstreamer-libs.devhelp
|
EXTRA_DIST=html2xml.py
|
||||||
|
|
||||||
|
all-am: devhelp
|
||||||
|
|
||||||
devhelp: gstreamer.devhelp gstreamer-libs.devhelp
|
devhelp: gstreamer.devhelp gstreamer-libs.devhelp
|
||||||
|
|
||||||
gstreamer.devhelp:
|
gstreamer.devhelp:
|
||||||
cd ../gst && make
|
cd ../gst && make
|
||||||
./html2xml.py ../gst/html
|
./html2xml.py ../gst/html
|
||||||
sed 's/base=""/base="\/usr\/share\/doc\/gstreamer-devel-@VERSION@\/html\/gstreamer"/g' html.devhelp > gstreamer.devhelp
|
sed 's@base=""@base="@HTML_DIR@/gstreamer"@g' html.devhelp > gstreamer.devhelp
|
||||||
perl -i -p -e 's/name="html"/name="gstreamer"/' gstreamer.devhelp
|
perl -i -p -e 's/name="html"/name="gstreamer"/' gstreamer.devhelp
|
||||||
rm html.devhelp
|
rm html.devhelp
|
||||||
|
|
||||||
gstreamer-libs.devhelp:
|
gstreamer-libs.devhelp:
|
||||||
cd ../libs && make
|
cd ../libs && make
|
||||||
./html2xml.py ../libs/html
|
./html2xml.py ../libs/html
|
||||||
sed 's/base=""/base="\/usr\/share\/doc\/gstreamer-devel-@VERSION@\/html\/gstreamer-libs"/g' html.devhelp > gstreamer-libs.devhelp
|
sed 's@base=""@base="@HTML_DIR@/gstreamer-libs"@g' html.devhelp > gstreamer-libs.devhelp
|
||||||
perl -i -p -e 's/name="html"/name="gstreamer-libs"/' gstreamer-libs.devhelp
|
perl -i -p -e 's/name="html"/name="gstreamer-libs"/' gstreamer-libs.devhelp
|
||||||
rm html.devhelp
|
rm html.devhelp
|
||||||
|
|
|
@ -76,17 +76,20 @@ applications and plugins for GStreamer.
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc html
|
|
||||||
%{_includedir}/gst
|
%{_includedir}/gst
|
||||||
%{_libdir}/libgstreamer.a
|
%{_libdir}/libgstreamer.a
|
||||||
%{_libdir}/libgstreamer.la
|
%{_libdir}/libgstreamer.la
|
||||||
%{_libdir}/libgstreamer.so
|
%{_libdir}/libgstreamer.so
|
||||||
%{_libdir}/pkgconfig/*
|
%{_libdir}/pkgconfig/*
|
||||||
|
%{_datadir}/gtk-doc/html/*
|
||||||
%{_datadir}/devhelp/specs/gstreamer.devhelp
|
%{_datadir}/devhelp/specs/gstreamer.devhelp
|
||||||
%{_datadir}/devhelp/specs/gstreamer-libs.devhelp
|
%{_datadir}/devhelp/specs/gstreamer-libs.devhelp
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 29 2002 Thomas Vander Stichele <thomas@apestaart.org>
|
||||||
|
- moved html docs to gtk-doc standard directory
|
||||||
|
|
||||||
* Tue Mar 5 2002 Thomas Vander Stichele <thomas@apestaart.org>
|
* Tue Mar 5 2002 Thomas Vander Stichele <thomas@apestaart.org>
|
||||||
- move version defines of glib2 and libxml2 to configure.ac
|
- move version defines of glib2 and libxml2 to configure.ac
|
||||||
- add BuildRequires for these two libs
|
- add BuildRequires for these two libs
|
||||||
|
@ -176,7 +179,7 @@ FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
|
||||||
--enable-debug \
|
--enable-debug \
|
||||||
--with-configdir=/etc/gstreamer \
|
--with-configdir=/etc/gstreamer \
|
||||||
--disable-tests --disable-examples --disable-debug-color \
|
--disable-tests --disable-examples --disable-debug-color \
|
||||||
--enable-docs-build --with-html-dir=$RPM_BUILD_DIR/%{name}-%{version}/html
|
--enable-docs-build
|
||||||
if [ "$SMP" != "" ]; then
|
if [ "$SMP" != "" ]; then
|
||||||
(make "MAKE=make -k -j $SMP"; exit 0)
|
(make "MAKE=make -k -j $SMP"; exit 0)
|
||||||
else
|
else
|
||||||
|
@ -202,8 +205,8 @@ cp $RPM_BUILD_DIR/%{name}-%{version}/docs/devhelp/*.devhelp $RPM_BUILD_ROOT/usr/
|
||||||
%post devel
|
%post devel
|
||||||
# adding devhelp links to work around different base not working
|
# adding devhelp links to work around different base not working
|
||||||
mkdir -p %{_datadir}/devhelp/books
|
mkdir -p %{_datadir}/devhelp/books
|
||||||
ln -sf %{_datadir}/doc/%{name}-devel-%{version}/html/gstreamer %{_datadir}/devhelp/books
|
ln -sf %{_datadir}/gtk-doc/html/gstreamer %{_datadir}/devhelp/books
|
||||||
ln -sf %{_datadir}/doc/%{name}-devel-%{version}/html/gstreamer-libs %{_datadir}/devhelp/books
|
ln -sf %{_datadir}/gtk-doc/html/gstreamer-libs %{_datadir}/devhelp/books
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
|
Loading…
Reference in a new issue