summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2008-02-02 12:50:44 -0600
committerVictor Lowther <victor.lowther@gmail.com>2008-02-02 12:50:44 -0600
commite21eff8128eb04e61132c33cef2a36e6fef72765 (patch)
treeea7627aa7ba3c64a01b28c6f418ef716049784a5 /src
parent8ae41d104086544631aaf76fd213c5ae8a32de64 (diff)
Add cleanfiles in Makefile.am, and actually export PM_FUNCTIONS in pm-powersave
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
-rwxr-xr-xsrc/pm-powersave.in2
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