Shell fix for Solaris.

This commit is contained in:
sketch 2009-09-18 13:09:02 +00:00
parent f2241ea8c2
commit 863784022f
2 changed files with 29 additions and 1 deletions

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.8 2009/08/15 21:10:11 wiz Exp $
$NetBSD: distinfo,v 1.9 2009/09/18 13:09:02 sketch Exp $
SHA1 (dbus-glib-0.82.tar.gz) = 8ad09cf13810382048a685bcafc72f252b2539a8
RMD160 (dbus-glib-0.82.tar.gz) = 570664552de2d455ca4aa27144243be3974e7d77
Size (dbus-glib-0.82.tar.gz) = 674953 bytes
SHA1 (patch-aa) = 4b77f6d86f636d1e0bcdb1f2e0ad9d3bc438b07c
SHA1 (patch-ab) = 5c3799726bbb9c247d3187b8d476442a51155296

View file

@ -0,0 +1,27 @@
$NetBSD: patch-ab,v 1.1 2009/09/18 13:09:02 sketch Exp $
--- doc/reference/Makefile.in.orig Fri Sep 18 13:56:05 2009
+++ doc/reference/Makefile.in Fri Sep 18 14:01:34 2009
@@ -651,8 +651,9 @@
mv -f $${installdir}/$(DOC_MODULE).devhelp \
$${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp; \
fi; \
- ! which gtkdoc-rebase >/dev/null 2>&1 || \
+ if type gtkdoc-rebase >/dev/null; then \
gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir} ; \
+ fi; \
fi
uninstall-local:
@@ -681,8 +682,9 @@
-cp $(srcdir)/$(DOC_MODULE).types $(distdir)/
-cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/
cd $(distdir) && rm -f $(DISTCLEANFILES)
- ! which gtkdoc-rebase >/dev/null 2>&1 || \
- gtkdoc-rebase --online --relative --html-dir=$(distdir)/html
+ if type gtkdoc-rebase >/dev/null; then \
+ gtkdoc-rebase --online --relative --html-dir=$(distdir)/html ; \
+ fi
.PHONY : dist-hook-local docs