File: Makefile.am

package info (click to toggle)
powersave 0.14.0-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 4,764 kB
  • ctags: 999
  • sloc: sh: 11,357; cpp: 8,103; ansic: 2,631; makefile: 388
file content (61 lines) | stat: -rw-r--r-- 1,769 bytes parent folder | download
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
SUBDIRS = autodocs

man_MANS = powersave.8 \
        powersaved.8

READMES = \
	README.battery \
	README.cpufreq \
	README.buttons \
	README.thermal \
	README.suspend \
	README.suspend-NVidia \
	README.suspend2ram \
	README.suspend-security \
	README.schemes \
	README.events \
	README.dbus \
	README.scripts \
	README.user_management \
	README.internals \
	README.dsdt \
	README.distributions \
	README.clients \
	README.versions \
	README.faq \
	README.acpi_debugging \
	README.extend \
	README.lists \
	README.bugs \
	README.installation \
	README.todo

EXTRA_DIST = $(man_MANS) \
	     $(READMES) \
	     powersave.tex

if DOCS_ENABLED

all:
	LANG=en_US makeinfo --html -o$(top_builddir)/docs/html $(srcdir)/powersave.tex; \
	LANG=en_US makeinfo --html --no-split -o$(top_builddir)/docs/powersave.html $(srcdir)/powersave.tex
	LANG=en_US lynx -dump -width=100 -nolist $(top_builddir)/docs/powersave.html > $(top_builddir)/docs/powersave_manual.txt


install-exec-hook:
		$(INSTALL_PROGRAM) -m 755 -D -d $(DESTDIR)/$(docdir)
		$(INSTALL_PROGRAM) -m 644 -D $(top_builddir)/docs/powersave.html $(DESTDIR)/$(docdir)/powersave_manual.html
		$(INSTALL_PROGRAM) -m 644 -D $(top_builddir)/docs/powersave_manual.txt $(DESTDIR)/$(docdir)/powersave_manual.txt
# The one big html manual file should be enough. 
# Splitted html files are generated (first makeinfo line above), but are only for
# upload to sourceforge powersave docu homepage
#	$(INSTALL_PROGRAM) -m 644 -D -d $(docdir)/$(docdir)/powersave
#	$(INSTALL_PROGRAM) -m 644 -D $(top_builddir)/docs/powersave/* $(DESTDIR)/$(docdir)/powersave

CLEANFILES = powersave_manual.txt powersave.html html/*

uninstall-local:
		rm $(DESTDIR)/$(docdir)/powersave_manual.txt
		rm $(DESTDIR)/$(docdir)/powersave_manual.html

endif