Makefile
changeset 1 a54c42c041e6
parent 0 b4b46fe7bf9f
child 6 04ae72a7db98
--- a/Makefile	Sat Feb 28 18:52:48 2009 +0100
+++ b/Makefile	Sat Feb 28 22:04:02 2009 +0100
@@ -12,10 +12,16 @@
 	install -m 0644 tele-watch.8.gz ${DESTDIR}/${man8dir}
 
 clean:
-	-rm -f tele-watch.8.gz
+	-rm -f tele-watch.8.gz tele-watch
+
+%:	%.pl
+	perl -c $<
+	cp -f $< $@
+	chmod a+x-w $@
 
 %.gz:	%
 	gzip -f $<
 
 %.8:	%
 	pod2man --section 8 $< >$@
+