changeset 7 | 31b228cc3b89 |
6:5e464a719d66 | 7:31b228cc3b89 |
---|---|
1 SCRIPTS = check_exec |
|
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 $@ |