Makefile
changeset 0 b4b46fe7bf9f
child 1 a54c42c041e6
equal deleted inserted replaced
-1:000000000000 0:b4b46fe7bf9f
       
     1 DESTDIR = 
       
     2 prefix = /usr/local
       
     3 sbindir = ${prefix}/sbin
       
     4 man8dir = ${prefix}/usr/share/man/man8
       
     5 
       
     6 all:	tele-watch tele-watch.8.gz
       
     7 install: all
       
     8 	install -m 0755 -d ${DESTDIR}/${sbindir}
       
     9 	install -m 0755 tele-watch ${DESTDIR}/${sbindir}/
       
    10 
       
    11 	install -m 0755 -d ${DESTDIR}/${man8dir}
       
    12 	install -m 0644 tele-watch.8.gz ${DESTDIR}/${man8dir}
       
    13 
       
    14 clean:
       
    15 	-rm -f tele-watch.8.gz
       
    16 
       
    17 %.gz:	%
       
    18 	gzip -f $<
       
    19 
       
    20 %.8:	%
       
    21 	pod2man --section 8 $< >$@