From 422260871365fe1b35d3eb7efe70704e285bc831 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Wed, 14 Feb 2018 01:06:41 +0100 Subject: [PATCH] Default to a full path to find zenity --- doc/project.conf | 6 ++++-- doc/{zenity-sudo-askpass => zenity-sudo-askpass.in} | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) rename doc/{zenity-sudo-askpass => zenity-sudo-askpass.in} (96%) diff --git a/doc/project.conf b/doc/project.conf index 830e878..3a9af93 100644 --- a/doc/project.conf +++ b/doc/project.conf @@ -1,5 +1,5 @@ -targets=browser.1,browser.html,browser.xml,copy.1,copy.html,copy.xml,delete.1,delete.html,delete.xml,desktop.1,desktop.html,desktop.xml,desktopctl.1,desktopctl.html,desktopctl.xml,move.1,move.html,move.xml,open.1,open.html,open.xml,properties.1,properties.html,properties.xml,view.1,view.html,view.xml -dist=Makefile,browser.css.xml,browser.xml.in,copy.css.xml,copy.xml.in,delete.css.xml,delete.xml.in,desktop.css.xml,desktop.xml.in,desktopctl.css.xml,desktopctl.xml.in,docbook.sh,manual.css.xml,mime.conf,move.css.xml,move.xml.in,open.css.xml,open.xml.in,properties.css.xml,properties.xml.in,view.css.xml,view.xml.in,zenity-sudo-askpass +targets=browser.1,browser.html,browser.xml,copy.1,copy.html,copy.xml,delete.1,delete.html,delete.xml,desktop.1,desktop.html,desktop.xml,desktopctl.1,desktopctl.html,desktopctl.xml,move.1,move.html,move.xml,open.1,open.html,open.xml,properties.1,properties.html,properties.xml,view.1,view.html,view.xml,zenity-sudo-askpass +dist=Makefile,browser.css.xml,browser.xml.in,copy.css.xml,copy.xml.in,delete.css.xml,delete.xml.in,desktop.css.xml,desktop.xml.in,desktopctl.css.xml,desktopctl.xml.in,docbook.sh,manual.css.xml,mime.conf,move.css.xml,move.xml.in,open.css.xml,open.xml.in,properties.css.xml,properties.xml.in,view.css.xml,view.xml.in,zenity-sudo-askpass.in [browser.1] type=script @@ -155,4 +155,6 @@ script=../tools/subst.sh depends=view.xml.in [zenity-sudo-askpass] +type=script +script=../tools/subst.sh install=$(PREFIX)/share/doc/Browser diff --git a/doc/zenity-sudo-askpass b/doc/zenity-sudo-askpass.in similarity index 96% rename from doc/zenity-sudo-askpass rename to doc/zenity-sudo-askpass.in index 6ebdf4a..292e392 100755 --- a/doc/zenity-sudo-askpass +++ b/doc/zenity-sudo-askpass.in @@ -28,4 +28,4 @@ #(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF #THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -zenity --password --title="sudo password prompt" +@BINDIR@/zenity --password --title="sudo password prompt"