equal
deleted
inserted
replaced
1 SCRIPT = check-cert |
1 SCRIPTS = check_cert |
|
2 CLEANFILES = ${SCRIPTS} |
|
3 DESTDIR = |
|
4 prefix = /usr |
2 |
5 |
3 .PHONY: all clean |
6 plugindir = ${prefix}/lib/nagios/plugins/ius |
4 |
7 |
5 all: $(SCRIPT) |
8 .PHONY: all clean install |
|
9 |
|
10 all: ${SCRIPTS} |
6 |
11 |
7 clean: |
12 clean: |
8 rm -rf $(SCRIPT) |
13 -rm -f ${CLEANFILES} |
9 |
14 |
10 %: %.pl Makefile |
15 install: all |
11 # $@ |
16 install -d -m 0755 ${DESTDIR}/${plugindir} |
|
17 install -m 0755 $(SCRIPTS) ${DESTDIR}/${plugindir}/ |
|
18 |
|
19 %: %.pl |
12 @perl -c $< |
20 @perl -c $< |
13 @cp -f $< $@ |
21 @cp -f $< $@ |
14 @chmod a=rx $@ |
22 @chmod +x $@ |