diff --git a/doc/sudo_plugin_python.man.in b/doc/sudo_plugin_python.man.in index b65834f52..d0708f424 100644 --- a/doc/sudo_plugin_python.man.in +++ b/doc/sudo_plugin_python.man.in @@ -520,7 +520,7 @@ To try it, register it by adding the following lines to .sp .RS 0n Plugin python_policy python_plugin.so \e - ModulePath=/usr/share/doc/sudo/examples/example_policy_plugin.py \e + ModulePath=@prefix@/share/doc/sudo/examples/example_policy_plugin.py \e ClassName=SudoPolicyPlugin .RE .fi @@ -812,7 +812,7 @@ To try it, register it by adding the following lines to .sp .RS 0n Plugin python_io python_plugin.so \e - ModulePath=/usr/share/doc/sudo/examples/example_io_plugin.py \e + ModulePath=@prefix@/share/doc/sudo/examples/example_io_plugin.py \e ClassName=SudoIOPlugin .RE .fi @@ -906,7 +906,7 @@ file by adding the following lines: .sp .RS 0n Defaults group_plugin="python_plugin.so \e - ModulePath=/usr/share/doc/sudo/examples/example_group_plugin.py \e + ModulePath=@prefix@/share/doc/sudo/examples/example_group_plugin.py \e ClassName=SudoGroupPlugin" .RE .fi @@ -1065,7 +1065,7 @@ To try it, register it by adding the following lines to .sp .RS 0n Plugin python_io python_plugin.so \e - ModulePath=/usr/share/doc/sudo/examples/example_conversation.py \e + ModulePath=@prefix@/share/doc/sudo/examples/example_conversation.py \e ClassName=ReasonLoggerIOPlugin .RE .fi @@ -1230,7 +1230,7 @@ To try it, register it by adding the following lines to .sp .RS 0n Plugin python_io python_plugin.so \e - ModulePath=/usr/share/doc/sudo/examples/example_debugging.py \e + ModulePath=@prefix@/share/doc/sudo/examples/example_debugging.py \e ClassName=DebugDemoPlugin Debug python_plugin.so \e diff --git a/doc/sudo_plugin_python.mdoc.in b/doc/sudo_plugin_python.mdoc.in index 38b51ba24..18320b68e 100644 --- a/doc/sudo_plugin_python.mdoc.in +++ b/doc/sudo_plugin_python.mdoc.in @@ -421,7 +421,7 @@ To try it, register it by adding the following lines to .Pa @sysconfdir@/sudo.conf : .Bd -literal Plugin python_policy python_plugin.so \e - ModulePath=/usr/share/doc/sudo/examples/example_policy_plugin.py \e + ModulePath=@prefix@/share/doc/sudo/examples/example_policy_plugin.py \e ClassName=SudoPolicyPlugin .Ed .Pp @@ -655,7 +655,7 @@ To try it, register it by adding the following lines to .Pa @sysconfdir@/sudo.conf : .Bd -literal Plugin python_io python_plugin.so \e - ModulePath=/usr/share/doc/sudo/examples/example_io_plugin.py \e + ModulePath=@prefix@/share/doc/sudo/examples/example_io_plugin.py \e ClassName=SudoIOPlugin .Ed .Ss Sudoers group provider plugin API @@ -729,7 +729,7 @@ To try it, register it in the file by adding the following lines: .Bd -literal Defaults group_plugin="python_plugin.so \e - ModulePath=/usr/share/doc/sudo/examples/example_group_plugin.py \e + ModulePath=@prefix@/share/doc/sudo/examples/example_group_plugin.py \e ClassName=SudoGroupPlugin" .Ed .Pp @@ -865,7 +865,7 @@ To try it, register it by adding the following lines to .Pa @sysconfdir@/sudo.conf : .Bd -literal Plugin python_io python_plugin.so \e - ModulePath=/usr/share/doc/sudo/examples/example_conversation.py \e + ModulePath=@prefix@/share/doc/sudo/examples/example_conversation.py \e ClassName=ReasonLoggerIOPlugin .Ed .Ss Information / error display API @@ -1002,7 +1002,7 @@ To try it, register it by adding the following lines to .Pa @sysconfdir@/sudo.conf : .Bd -literal Plugin python_io python_plugin.so \e - ModulePath=/usr/share/doc/sudo/examples/example_debugging.py \e + ModulePath=@prefix@/share/doc/sudo/examples/example_debugging.py \e ClassName=DebugDemoPlugin Debug python_plugin.so \e