|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
gtkdoc-rebase detection troubleshi,
since the introduction of gtkdoc-rebase, I am patching the gtk-doc.make back and forth to find a portable way to detect its existence. Right this is what we do: -which gtkdoc-rebase >/dev/null && gtkdoc-rebase ... There is a '-' to make the rule not fail. which returns false if it does not find the command in the path (well that was the plan) and if found executes it. On solaris and macos which does not return false if the command is not found: http://bugzilla.gnome.org/show_bug.cgi?id=565322 http://bugzilla.gnome.org/show_bug.cgi?id=562310 For history read: http://bugzilla.gnome.org/show_bug.cgi?id=508897 http://bugzilla.gnome.org/show_bug.cgi?id=559281 http://bugzilla.gnome.org/show_bug.cgi?id=501066 http://bugzilla.gnome.org/show_bug.cgi?id=501617 Any ideas how to write this so that everyone in this world is happy? Stefan _______________________________________________ gtk-doc-list mailing list gtk-doc-list@... http://mail.gnome.org/mailman/listinfo/gtk-doc-list |
|
|
Re: gtkdoc-rebase detection troublesHi,
Am Montag, den 29.12.2008, 22:10 +0200 schrieb Stefan Kost: > since the introduction of gtkdoc-rebase, I am patching the gtk-doc.make back and > forth to find a portable way to detect its existence. Right this is what we do: > > -which gtkdoc-rebase >/dev/null && gtkdoc-rebase ... Why not do the proper detection in the gtk-doc m4-macro and just have an if HAVE_GTKDOC_REBASE in the gtk-doc.make? > There is a '-' to make the rule not fail. which returns false if it does not > find the command in the path (well that was the plan) and if found executes it. > > On solaris and macos which does not return false if the command is not found: > http://bugzilla.gnome.org/show_bug.cgi?id=565322 > http://bugzilla.gnome.org/show_bug.cgi?id=562310 > > For history read: > http://bugzilla.gnome.org/show_bug.cgi?id=508897 > http://bugzilla.gnome.org/show_bug.cgi?id=559281 > http://bugzilla.gnome.org/show_bug.cgi?id=501066 > http://bugzilla.gnome.org/show_bug.cgi?id=501617 Regards, Sven _______________________________________________ gtk-doc-list mailing list gtk-doc-list@... http://mail.gnome.org/mailman/listinfo/gtk-doc-list |
|
|
Re: gtkdoc-rebase detection troublesSven Herzberg schrieb:
> Hi, > > Am Montag, den 29.12.2008, 22:10 +0200 schrieb Stefan Kost: >> since the introduction of gtkdoc-rebase, I am patching the gtk-doc.make back and >> forth to find a portable way to detect its existence. Right this is what we do: >> >> -which gtkdoc-rebase >/dev/null && gtkdoc-rebase ... > > Why not do the proper detection in the gtk-doc m4-macro and just have an > if HAVE_GTKDOC_REBASE in the gtk-doc.make? > anyone. Stefan >> There is a '-' to make the rule not fail. which returns false if it does not >> find the command in the path (well that was the plan) and if found executes it. >> >> On solaris and macos which does not return false if the command is not found: >> http://bugzilla.gnome.org/show_bug.cgi?id=565322 >> http://bugzilla.gnome.org/show_bug.cgi?id=562310 >> >> For history read: >> http://bugzilla.gnome.org/show_bug.cgi?id=508897 >> http://bugzilla.gnome.org/show_bug.cgi?id=559281 >> http://bugzilla.gnome.org/show_bug.cgi?id=501066 >> http://bugzilla.gnome.org/show_bug.cgi?id=501617 > > Regards, > Sven > _______________________________________________ gtk-doc-list mailing list gtk-doc-list@... http://mail.gnome.org/mailman/listinfo/gtk-doc-list |
| Free embeddable forum powered by Nabble | Forum Help |