2 # Copyright (C) 2002 Stanislav Sinyagin
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 # Stanislav Sinyagin <ssinyagin@yahoo.com>
22 # Random Collector Torrus plugin Automake script
24 SUBST = @abs_top_builddir@/substvars.sh
26 noinst_SCRIPTS = substvars.sh
29 ##### Perl modules #####
30 myperlmoddir = $(perllibdir)/Torrus/Collector
31 dist_myperlmod_DATA = Random.pm
34 ##### Perl configuration files #####
35 torruscfgdir = $(plugtorruscfgdir)
36 dist_torruscfg_DATA = randomcollector-torruscfg.pl
38 ##### CLI wrapper #####
39 wrapperdir = $(plugwrapperdir)
40 dist_wrapper_DATA = randomcollector-wrapper.sh
42 ##### XML configuration #####
43 myxmldir = $(distxmldir)/examples
44 dist_myxml_DATA = random.xml
47 ##### Executable scripts #####
48 pkgbindir = @pkgbindir@
49 pkgbin_SCRIPTS = genrandomcfg
50 EXTRA_DIST = genrandomcfg.in
51 genrandomcfg: genrandomcfg.in
52 $(SUBST) genrandomcfg.in > genrandomcfg
55 ##### HTML and text Templates #####
57 dist_tmpl_DATA = genrandomcfg.xml
60 ##### Documentation files #####
61 pkgdocdir = @pkgdocdir@
62 dist_pkgdoc_DATA = tp-randomcollector.txt tp-randomcollector.pod
71 pod2html -css=../torrusdoc.css $$f > ../../htdocs/plugins/$$f.html; \
75 ssinyagin,torrus@web.sourceforge.net:/home/groups/t/to/torrus/htdocs/devel
78 scp $(distdir).tar.gz $(UPLOADPATH)