1 # Copyright (C) 2002 Stanislav Sinyagin
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
17 # $Id: Makefile.am,v 1.1 2010-12-27 00:03:32 ivan Exp $
18 # Stanislav Sinyagin <ssinyagin@yahoo.com>
21 SUBDIRS = . bin configs doc examples perllib sup xmlconfig
24 setup_tools/Bundle/Torrus.pm \
25 setup_tools/replace_rrfw.sh \
26 setup_tools/configure_fhs \
27 setup_tools/check_perlthreading.pl
30 setup_tools/substvars.sh \
31 setup_tools/mkvardir.sh \
36 templates/aclexport.xml \
37 templates/adminfo.html \
38 templates/default-chooser.html \
39 templates/default-dir.html \
40 templates/default-helptext.html \
41 templates/default-login.html \
42 templates/default-recursivedir.html \
43 templates/default-rrd.html \
44 templates/default-tset.html \
45 templates/expanded-dir.html \
46 templates/globalsearch.html \
47 templates/overview-subleaves.html \
48 templates/report-index.html \
49 templates/report-monthly.html \
50 templates/report-serviceid.html \
51 templates/report-yearly.html \
52 templates/search.html \
53 templates/html-incblocks.txt \
54 templates/tset-list.html \
55 templates/email-alarm.txt
59 scriptsdir = @scriptsdir@
60 dist_scripts_DATA = scripts/rrdup_notify.sh
62 xmlscriptsdir = @scriptsdir@/xml
63 dist_xmlscripts_DATA = scripts/xml/extract-skeleton.xsl
66 discoverydir = @sitedir@/discovery
67 dist_discovery_DATA = discovery/README
69 mkvardir=@abs_top_builddir@/setup_tools/mkvardir.sh
72 @echo Testing if prefix has changed during make
73 test "$(prefix)" = "@prefix@"
74 $(mkvardir) $(DESTDIR)$(dbhome)
75 $(mkvardir) $(DESTDIR)$(cachedir)
76 $(mkvardir) $(DESTDIR)$(piddir)
77 $(mkvardir) $(DESTDIR)$(reportsdir)
78 $(mkvardir) $(DESTDIR)$(logdir)
79 $(mkvardir) $(DESTDIR)$(sesstordir)
80 $(mkvardir) $(DESTDIR)$(seslockdir)
81 $(mkinstalldirs) $(DESTDIR)$(tmpluserdir)
82 $(mkinstalldirs) $(DESTDIR)$(plugtorruscfgdir)
83 $(mkinstalldirs) $(DESTDIR)$(plugdevdisccfgdir)
84 $(mkinstalldirs) $(DESTDIR)$(plugwrapperdir)
86 HTMLDIR = @abs_top_builddir@/../htdocs
90 @for f in $(dist_mibs_DATA); do \
91 f2=$(HTMLDIR)/`basename $$f`; \
92 if test ! -f $$f2 -o $$f -nt $$f2; then \
99 ssinyagin,torrus@web.sourceforge.net:/home/groups/t/to/torrus/htdocs/devel
102 scp $(distdir).tar.gz TODO $(UPLOADPATH)
105 scp TODO $(UPLOADPATH)
109 cp DIST_REVISION $(distdir)/