Makefile
changeset 0 f405871d0603
equal deleted inserted replaced
-1:000000000000 0:f405871d0603
       
     1 SCRIPTS = check_client_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 $@