Improve the previous fix

This commit is contained in:
Matthias Clasen 2008-01-07 15:18:54 +00:00
parent 0956ffe196
commit 6485613cdf
2 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,7 @@
Summary: API documentation generation tool for GTK+ and GNOME
Name: gtk-doc
Version: 1.9
Release: 2%{?dist}
Release: 3%{?dist}
License: GPLv2+ and GFDL+
Group: Development/Tools
Source: http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/1.9/gtk-doc-%{version}.tar.bz2
@ -83,6 +83,9 @@ scrollkeeper-update -q
%{_datadir}/omf/gtk-doc/
%changelog
* Mon Jan 7 2007 Matthias Clasen <mclasen@redhat.com> - 1.9-3
- Improve the fix
* Tue Dec 18 2007 Matthias Clasen <mclasen@redhat.com> - 1.9-2
- Fix a problem in gtk-doc.make

View File

@ -8,8 +8,8 @@ diff -up gtk-doc-1.9/gtk-doc.make.rebase gtk-doc-1.9/gtk-doc.make
- if test `which gtkdoc-rebase` != ""; then \
- gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR) ; \
- fi \
+ which gtkdoc-rebase > /dev/null && \
+ gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR) ; \
+ (which gtkdoc-rebase >& /dev/null && \
+ gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR)) || : \
fi