2 # Copyright (C) 2004 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
18 # $Id: Makefile.am,v 1.1 2010-12-27 00:04:41 ivan Exp $
19 # Stanislav Sinyagin <ssinyagin@yahoo.com>
23 devdiscover-config.pl \
24 devdiscover-siteconfig.pl \
27 notify-siteconfig.pl \
28 snmptrap-siteconfig.pl \
30 torrus-siteconfig.pl \
34 DISTCLEANFILES = instvars
36 instvarsdir = $(cfgdefdir)
37 nodist_instvars_DATA = instvars
40 $(mkinstalldirs) $(DESTDIR)$(cfgdefdir) $(DESTDIR)$(siteconfdir)
41 for f in initscript.conf devdiscover-config.pl torrus-config.pl \
42 webmux.pl webmux2.pl; do \
43 @abs_top_builddir@/setup_tools/substvars.sh $$f > \
44 $(DESTDIR)$(cfgdefdir)/$$f; \
46 for f in devdiscover-siteconfig.pl email-siteconfig.pl \
47 notify-siteconfig.pl \
48 snmptrap-siteconfig.pl torrus-siteconfig.pl; do \
49 if test ! -r $(DESTDIR)$(siteconfdir)/$$f; then \
50 $(INSTALL_DATA) $$f $(DESTDIR)$(siteconfdir)/$$f; \