/[pdpsoft]/trunk/nagios/ees/Makefile.am
ViewVC logotype

Annotation of /trunk/nagios/ees/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2576 - (hide annotations) (download)
Mon Oct 29 11:06:31 2012 UTC (9 years, 11 months ago) by msalle
File size: 1407 byte(s)
Adding NEWS file and man page, build from template, update version.
Print defaults for host and port in the --help option.

1 msalle 2494 # Copyright (c) Stichting FOM/Nikhef. 2011-2012
2     #
3     # Licensed under the Apache License, Version 2.0 (the "License");
4     # you may not use this file except in compliance with the License.
5     # You may obtain a copy of the License at
6     #
7     # http://www.apache.org/licenses/LICENSE-2.0
8     #
9     # Unless required by applicable law or agreed to in writing, software
10     # distributed under the License is distributed on an "AS IS" BASIS,
11     # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12     # See the License for the specific language governing permissions and
13     # limitations under the License.
14     #
15     # Authors: Mischa Salle
16     # NIKHEF Amsterdam, the Netherlands
17     # grid-mw-security@nikhef.nl
18    
19     # Default location for nagios plugins is ${libexecdir}
20     libexec_SCRIPTS = check_ees
21    
22 msalle 2576 EXTRA_DIST = \
23     check_ees.in \
24     check_ees.8.src \
25     bootstrap \
26     LICENSE
27 msalle 2494
28 msalle 2576 CLEANFILES = \
29     check_ees \
30     check_ees.8
31    
32 msalle 2494 # Substitutes perl fullpath and version into plugin
33     check_ees: check_ees.in
34 msalle 2576 @echo Making $@ from template
35     @rm -f $@
36 msalle 2494 $(edit) $< > $@
37    
38 msalle 2576 # Create manpage from template
39     check_ees.8: check_ees.8.src
40     @echo Making $@ from template
41     @rm -f $@
42     $(edit) $< > $@
43    
44     # mandir, note: on RH5 there is no datarootdir, so use datadir
45     mandir = $(datadir)/man
46     man_MANS = check_ees.8
47    
48     # Template to create target
49 msalle 2494 edit = sed \
50 msalle 2576 -e 's|@PACKAGE_NAME[@]|$(PACKAGE)|g' \
51 msalle 2494 -e 's|@PERL[@]|$(PERL)|g' \
52     -e 's|@VERSION[@]|$(VERSION)|g'
53    
54    

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28