File: Makefile.am

package info (click to toggle)
cpufreqd 2.4.2-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 548 kB
  • ctags: 579
  • sloc: ansic: 5,466; makefile: 237; sh: 133
file content (42 lines) | stat: -rw-r--r-- 1,045 bytes parent folder | download | duplicates (4)
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
36
37
38
39
40
41
42
CTAGS = ctags

EXTRA_DIST = cpufreqd.conf \
             README \
             INSTALL \
             NEWS \
             AUTHORS \
             TODO \
             ChangeLog
#             scripts/debian/cpufreqd \
#             scripts/gentoo/cpufreqd \
#             scripts/mandrake/cpufreqd.init.mdk \
#             scripts/suse/cpufreqd.initd-SUSE \
#             scripts/suse/cpufreqd.sysconfig \
#             examples/cpufreqd.conf-2.4 \
#             examples/cpufreqd.conf-2.6

SUBDIRS = src utils manpages

#man8_MANS = manpages/cpufreqd.8
#man5_MANS = manpages/cpufreqd.conf.5

install-data-local:
	if [ -f $(DESTDIR)/$(sysconfdir)/cpufreqd.conf ]; then \
	 echo "** preserving old configuration file **"; \
	else \
	 install -Dm 0644 $(top_srcdir)/cpufreqd.conf $(DESTDIR)/$(sysconfdir)/cpufreqd.conf; \
	fi;

tags:
	if [ -f ./tags ]; then \
		rm ./tags; \
	fi; \
	ctags -f tags src/*.[ch] utils/*.[ch];

cscope:
	if [ -f ./cscope.out ] ; then \
		rm ./cscope.out; \
	fi; \
	cscope -R -b -fcscope.out

#sysconf_DATA = cpufreqd.conf