blob: 08a90541caf5b0ea6b97753ab74a985e9a8cef9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
SUBDIRS = \
sleep.d \
power.d \
module.d
pm_libdir = $(libdir)/pm-utils
pm_sysconfdir = $(sysconfdir)/pm
pm_lib_SCRIPTS = functions pm-functions
dist_pm_lib_DATA = defaults
dist_doc_DATA = HOWTO.hooks \
HOWTO.modules
script_in_files = functions.in pm-functions.in
CLEANFILES = $(script_in_files:.in=)
EXTRA_DIST = $(script_in_files)
install-exec-local:
-mkdir $(DESTDIR)$(sysconfdir)/pm/config.d
do_subst = sed -e 's,[@]PM-UTILS-LIBDIR[@],$(pm_libdir),g' \
-e 's,[@]PM-UTILS-SYSCONFDIR[@],$(pm_sysconfdir),g'
SUFFIXES = .in
.in:
$(do_subst) $< >$@
chmod +x $@
clean-local :
rm -f *~
|