fix --help output to be proper UTF-8
[clawsker.git] / Makefile
index 954ec3027e6cf03bc93a8c5812977aad65f43226..48b983496139d530387e4cf8a926720ae16d584f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -16,9 +16,8 @@ all: build
 
 build:
        -mkdir build
-       sed -e "s,@PREFIX@,${PREFIX},;s,@LIBDIR@,${LIBDIR},;s,@VERSION@,${VERSION}," \
-               < ${NAME} > build/${NAME}
-       pod2man ${NAME} > build/${NAME}.1
+       sed -e "s,@PREFIX@,${PREFIX},;s,@LIBDIR@,${LIBDIR},;s,@VERSION@,${VERSION}," < ${NAME} > build/${NAME}
+       pod2man --release ${VERSION} -c '' ${NAME}.pod > build/${NAME}.1
        ${MAKE} -C po build