File: Makefile.am

package info (click to toggle)
pm-utils 1.3.0-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,092 kB
  • ctags: 116
  • sloc: sh: 2,516; xml: 1,015; makefile: 158; ansic: 152
file content (35 lines) | stat: -rw-r--r-- 620 bytes parent folder | download | duplicates (8)
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 *~