Fix it again

This commit is contained in:
Matthias Clasen 2008-01-08 15:31:20 +00:00
parent 5bf25bda0e
commit b1094bb7f8
2 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
Summary: API documentation generation tool for GTK+ and GNOME
Name: gtk-doc
Version: 1.9
Release: 3%{?dist}
Release: 4%{?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
* Tue Jan 8 2008 Matthias Clasen <mclasen@redhat.com> - 1.9-4
- Try again
* Mon Jan 7 2008 Matthias Clasen <mclasen@redhat.com> - 1.9-3
- Improve the fix

View File

@ -9,7 +9,7 @@ diff -up gtk-doc-1.9/gtk-doc.make.rebase gtk-doc-1.9/gtk-doc.make
- 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)) || : \
+ gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR)) || : ; \
fi