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.
18 # Stanislav Sinyagin <ssinyagin@yahoo.com>
21 # Random Collector Torrus plugin Automake script
23 SUBST = @abs_top_builddir@/substvars.sh
25 noinst_SCRIPTS = substvars.sh
28 ##### Perl modules #####
29 myperlmoddir = $(perllibdir)/Torrus/Collector
30 dist_myperlmod_DATA = Random.pm
33 ##### Perl configuration files #####
34 torruscfgdir = $(plugtorruscfgdir)
35 dist_torruscfg_DATA = randomcollector-torruscfg.pl
37 ##### CLI wrapper #####
38 wrapperdir = $(plugwrapperdir)
39 dist_wrapper_DATA = randomcollector-wrapper.sh
41 ##### XML configuration #####
42 myxmldir = $(distxmldir)/examples
43 dist_myxml_DATA = random.xml
46 ##### Executable scripts #####
47 pkgbindir = @pkgbindir@
48 pkgbin_SCRIPTS = genrandomcfg
49 EXTRA_DIST = genrandomcfg.in
50 genrandomcfg: genrandomcfg.in
51 $(SUBST) genrandomcfg.in > genrandomcfg
54 ##### HTML and text Templates #####
56 dist_tmpl_DATA = genrandomcfg.xml
59 ##### Documentation files #####
60 pkgdocdir = @pkgdocdir@
61 dist_pkgdoc_DATA = tp-randomcollector.txt tp-randomcollector.pod
70 pod2html -css=../torrusdoc.css $$f > ../../htdocs/plugins/$$f.html; \
74 ssinyagin,torrus@web.sourceforge.net:/home/groups/t/to/torrus/htdocs/devel
77 scp $(distdir).tar.gz $(UPLOADPATH)