| changeset 6 | 76d6483436f3 | 
| 5:f0b949449b33 | 6:76d6483436f3 | 
|---|---|
1 SCRIPTS = check_cert  | 
|
2 CLEANFILES = ${SCRIPTS}  | 
|
3 DESTDIR =  | 
|
4 prefix = /usr  | 
|
5  | 
|
6 plugindir = ${prefix}/lib/nagios/plugins/ius  | 
|
7  | 
|
8 .PHONY: all clean install  | 
|
9  | 
|
10 all: ${SCRIPTS}  | 
|
11  | 
|
12 clean:  | 
|
13 -rm -f ${CLEANFILES}  | 
|
14  | 
|
15 install: all  | 
|
16 install -d -m 0755 ${DESTDIR}/${plugindir}  | 
|
17 install -m 0755 $(SCRIPTS) ${DESTDIR}/${plugindir}/  | 
|
18  | 
|
19 %: %.pl  | 
|
20 @perl -c $<  | 
|
21 @cp -f $< $@  | 
|
22 @chmod +x $@  | 
|
23  | 
|
24 %: %.sh  | 
|
25 @cp -f $< $@  | 
|
26 @chmod +x $@  |