diff options
-rw-r--r-- | src/Makefile.am | 2 | ||||
-rwxr-xr-x | src/pm-powersave.in | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 8dce4db..0497c86 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -30,6 +30,8 @@ acpowerdir = $(bindir) acpower_SCRIPTS = \ on_ac_power +CLEANFILES = $(pm_utils_bin_SCRIPTS) $(extra_SCRIPTS) + do_subst = sed -e 's,[@]PM-UTILS-LIBDIR[@],$(pm_utils_libdir),g' \ -e 's,[@]PM-UTILS-SYSCONFDIR[@],$(pm_sysconfdir),g' diff --git a/src/pm-powersave.in b/src/pm-powersave.in index 51de744..f6cea14 100755 --- a/src/pm-powersave.in +++ b/src/pm-powersave.in @@ -25,7 +25,7 @@ # POWERSAVE_LOGFILE="/dev/null" -PM_FUNCTIONS="@PM-UTILS-LIBDIR@/functions" +export PM_FUNCTIONS="@PM-UTILS-LIBDIR@/functions" . "${PM_FUNCTIONS}" if [ "x$1" = "xtrue" -o "x$1" = "xfalse" ] ; then |