~ubuntu-branches/debian/stretch/resource-agents/stretch

« back to all changes in this revision

Viewing changes to rgmanager/src/resources/utils/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Andres Rodriguez
  • Date: 2011-06-10 16:26:35 UTC
  • Revision ID: james.westby@ubuntu.com-20110610162635-yiy0vfopqw4trzgx
Tags: upstream-3.9.0
ImportĀ upstreamĀ versionĀ 3.9.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Copyright (C) 2004-2011 Red Hat, Inc.  All rights reserved.
 
3
#
 
4
# This program is free software; you can redistribute it and/or
 
5
# modify it under the terms of the GNU General Public License
 
6
# as published by the Free Software Foundation; either version 2
 
7
# of the License, or (at your option) any later version.
 
8
#
 
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.
 
13
#
 
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.
 
17
#
 
18
 
 
19
MAINTAINERCLEANFILES    = Makefile.in
 
20
 
 
21
TARGET                  = config-utils.sh
 
22
 
 
23
commonscripts           = fs-lib.sh \
 
24
                          httpd-parse-config.pl \
 
25
                          member_util.sh \
 
26
                          messages.sh \
 
27
                          named-parse-config.pl \
 
28
                          ra-skelet.sh \
 
29
                          tomcat-parse-config.pl
 
30
 
 
31
EXTRA_DIST              = $(commonscripts) \
 
32
                          $(TARGET).in
 
33
 
 
34
rasutilsdir             = ${CLUSTERDATA}/utils
 
35
 
 
36
rasutils_SCRIPTS        = $(commonscripts) \
 
37
                          $(TARGET)
 
38
 
 
39
 
 
40
$(TARGET): $(TARGET).in
 
41
        cat $^ | sed \
 
42
                -e 's#@''CONFDIR@#${CONFDIR}#g' \
 
43
                -e 's#@''CONFFILE@#${CONFFILE}#g' \
 
44
        > $@
 
45
 
 
46
clean-local:
 
47
        rm -f $(TARGET)