From 6485613cdf594eb90f900c476b39a6c9485a7434 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 7 Jan 2008 15:18:54 +0000 Subject: [PATCH] Improve the previous fix --- gtk-doc.spec | 5 ++++- rebase.patch | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gtk-doc.spec b/gtk-doc.spec index 82bf155..5887923 100644 --- a/gtk-doc.spec +++ b/gtk-doc.spec @@ -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 - 1.9-3 +- Improve the fix + * Tue Dec 18 2007 Matthias Clasen - 1.9-2 - Fix a problem in gtk-doc.make diff --git a/rebase.patch b/rebase.patch index 9e7d242..c26eaac 100644 --- a/rebase.patch +++ b/rebase.patch @@ -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