File: Makefile.am

package info (click to toggle)
torrus 2.08-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 4,496 kB
  • sloc: perl: 33,418; xml: 20,146; sh: 3,651; makefile: 700
file content (133 lines) | stat: -rw-r--r-- 3,845 bytes parent folder | download | duplicates (3)
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133

#  Copyright (C) 2002  Stanislav Sinyagin
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.

# Stanislav Sinyagin <ssinyagin@yahoo.com>
#

SUBST = @abs_top_builddir@/setup_tools/substvars.sh

EXTRA_DIST = $(SRCPOD)
CLEANFILES = $(PODMAN) $(POD_FILES)

SRCPOD = \
	torrus.pod.in \
	torrus_acledit.pod.in \
	torrus_action_notify.pod.in \
	torrus_action_printemail.pod.in \
	torrus_action_snmptrap.pod.in \
	torrus_buildsearchdb.pod.in \
	torrus_cleanup.pod.in \
	torrus_clearcache.pod.in \
	torrus_collector.pod.in \
	torrus_compilexml.pod.in \
	torrus_configinfo.pod.in \
	torrus_configsnapshot.pod.in \
	torrus_devdiscover.pod.in \
	torrus_flushmonitors.pod.in \
	torrus_genddx.pod.in \
	torrus_genlist.pod.in \
	torrus_genreport.pod.in \
	torrus_install_plugin.pod.in \
	torrus_monitor.pod.in \
	torrus_nodeid.pod.in \
	torrus_rrddir2xml.pod.in \
	torrus_schedulerinfo.pod.in \
	torrus_snmpfailures.pod.in \
	torrus_srvderive.pod.in \
	torrus_ttproclist.pod.in

POD_FILES = \
	torrus.pod \
	torrus_acledit.pod \
	torrus_action_notify.pod \
	torrus_action_printemail.pod \
	torrus_action_snmptrap.pod \
	torrus_buildsearchdb.pod \
	torrus_cleanup.pod \
	torrus_clearcache.pod \
	torrus_collector.pod \
	torrus_compilexml.pod \
	torrus_configinfo.pod \
	torrus_configsnapshot.pod \
	torrus_devdiscover.pod \
	torrus_flushmonitors.pod \
	torrus_genddx.pod \
	torrus_genlist.pod \
	torrus_genreport.pod \
	torrus_install_plugin.pod \
	torrus_monitor.pod \
	torrus_nodeid.pod \
	torrus_rrddir2xml.pod \
	torrus_schedulerinfo.pod \
	torrus_snmpfailures.pod \
	torrus_srvderive.pod \
	torrus_ttproclist.pod

PODMAN = \
	torrus.@mansec_usercmd@ \
	torrus_acledit.@mansec_usercmd@ \
	torrus_action_notify.@mansec_misc@ \
	torrus_action_printemail.@mansec_misc@ \
	torrus_action_snmptrap.@mansec_misc@ \
	torrus_buildsearchdb.@mansec_usercmd@ \
	torrus_cleanup.@mansec_usercmd@ \
	torrus_clearcache.@mansec_usercmd@ \
	torrus_collector.@mansec_usercmd@ \
	torrus_compilexml.@mansec_usercmd@ \
	torrus_configinfo.@mansec_usercmd@ \
	torrus_configsnapshot.@mansec_usercmd@ \
	torrus_devdiscover.@mansec_usercmd@ \
	torrus_flushmonitors.@mansec_usercmd@ \
	torrus_genddx.@mansec_usercmd@ \
	torrus_genlist.@mansec_usercmd@ \
	torrus_genreport.@mansec_usercmd@ \
	torrus_install_plugin.@mansec_misc@ \
	torrus_monitor.@mansec_usercmd@ \
	torrus_nodeid.@mansec_usercmd@ \
	torrus_rrddir2xml.@mansec_usercmd@ \
	torrus_schedulerinfo.@mansec_usercmd@ \
	torrus_snmpfailures.@mansec_usercmd@ \
	torrus_srvderive.@mansec_usercmd@ \
	torrus_ttproclist.@mansec_usercmd@



if POD2MAN_PRESENT
install-data-local: $(POD_FILES)
	for f in $(PODMAN); do \
	  base=`echo $$f | sed -e 's/\\.[0-9a-zA-Z]*$$//'`; \
	  ext=`echo $$f | sed -e 's/^.*\\.//'`; \
	  instdir=$(DESTDIR)$(mandir)/man$$ext; \
	  echo BASE=$$base EXT=$$ext INSTDIR=$$instdir; \
	  $(POD2MAN) --section=$$ext \
	     --release="$(PACKAGE_STRING)" --center=torrus \
             $$base.pod > $$f || exit 1; \
	  test -d $$instdir || $(mkinstalldirs) $$instdir || exit 1; \
	  $(INSTALL_DATA) $$f $$instdir; \
	  rm $$f; \
	done
endif


SUFFIXES = .pod.in .pod

.PRECIOUS: $(POD_FILES)

.pod.in.pod:
	$(SUBST) $<  > $@

pods: $(POD_FILES)