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

Contents of /trunk/nagios/glexec/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2574 - (show annotations) (download)
Fri Oct 26 14:07:51 2012 UTC (9 years, 11 months ago) by msalle
File size: 1437 byte(s)
Add \ to cleanfiles

1 # 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_glexec
21
22 EXTRA_DIST = \
23 check_glexec.in \
24 check_glexec.8.src \
25 bootstrap \
26 LICENSE
27
28 CLEANFILES = \
29 check_glexec \
30 check_glexec.8
31
32 # Substitutes perl fullpath and version into plugin
33 check_glexec: check_glexec.in
34 @echo Making $@ from template
35 @rm -f $@
36 $(edit) $< > $@
37
38 # Create manpage from template
39 check_glexec.8: check_glexec.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_glexec.8
47
48 # Template to create target
49 edit = sed \
50 -e 's|@PACKAGE_NAME[@]|$(PACKAGE)|g' \
51 -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