Makefile
changeset 1 05240b778be1
parent 0 16393d8e4984
child 2 c7cd77e9e42a
--- a/Makefile	Wed Jan 08 11:05:54 2014 +0100
+++ b/Makefile	Wed Jan 08 11:09:14 2014 +0100
@@ -1,11 +1,13 @@
 DESTDIR = 
 prefix = /usr/local
+CLEANFILES = mydump.8
 
 all:		mydump.8
 install:	all
 	install -m 0755 ${DESTDIR}${prefix}/mydump
 
+clean:		; -rm -f ${CLEANFILES}
 
-%.8:	%.8.pod
-	pod2man $< >$@
+mydump.8:	mydump.8.pod
+	pod2man --name mydump --section 8 $< >$@