From: Sven Eden Date: Tue, 7 Feb 2017 08:56:44 +0000 (+0100) Subject: PKTTYAGENT make variable X-Git-Tag: v226.4~1^2~29 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;ds=inline;h=044519161f469050bbae99d7ef16804688b446ab;p=elogind.git PKTTYAGENT make variable * Makefile.am (PKTTYAGENT): Define as a variable so that users can make PKTTYAGENT=/whatever to select a specific pkttyagent path. --- diff --git a/Makefile.am b/Makefile.am index fb59c77f7..fe421287a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -55,6 +55,8 @@ zshcompletiondir=@zshcompletiondir@ systemsleepdir=$(pkglibexecdir)/sleep.d systemshutdowndir=$(pkglibexecdir)/shutdown.d +PKTTYAGENT=$(bindir)/pkttyagent + # Our own, non-special dirs pkgsysconfdir=$(sysconfdir)/elogind pkgincludedir=$(includedir)/elogind @@ -120,7 +122,7 @@ AM_CPPFLAGS = \ -DELOGIND_CGROUP_AGENT_PATH=\"$(rootlibexecdir)/elogind-cgroups-agent\" \ -DROOTPREFIX=\"$(rootprefix)\" \ -DUDEVLIBEXECDIR=\"$(udevlibexecdir)\" \ - -DPOLKIT_AGENT_BINARY_PATH=\"$(bindir)/pkttyagent\" \ + -DPOLKIT_AGENT_BINARY_PATH=\"$(PKTTYAGENT)\" \ -DSYSTEM_SLEEP_PATH=\"$(systemsleepdir)\" \ -DSYSTEM_SHUTDOWN_PATH=\"$(systemshutdowndir)\" \ -DHALT=\"$(HALT)\" \