From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:50812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsxvU-0003BZ-SJ for qemu-devel@nongnu.org; Thu, 02 Feb 2012 09:46:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RsxvQ-00041U-F1 for qemu-devel@nongnu.org; Thu, 02 Feb 2012 09:46:16 -0500 Received: from isrv.corpit.ru ([86.62.121.231]:56471) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsxvQ-00041I-7V for qemu-devel@nongnu.org; Thu, 02 Feb 2012 09:46:12 -0500 Message-ID: <4F2AA1AE.6090203@msgid.tls.msk.ru> Date: Thu, 02 Feb 2012 18:46:06 +0400 From: Michael Tokarev MIME-Version: 1.0 References: <1328192202-23450-1-git-send-email-mjt@tls.msk.ru> <1328192202-23450-2-git-send-email-mjt@msgid.tls.msk.ru> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/2] Run pod2man with --utf8 option to enable utf8 in manpages List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel@nongnu.org On 02.02.2012 18:32, Peter Maydell wrote: > On 2 February 2012 14:16, Michael Tokarev wrote: >> +POD2MAN = pod2man --utf8 >> qemu.1: qemu-doc.texi qemu-options.texi qemu-monitor.texi >> $(call quiet-command, \ >> perl -Ww -- $(SRC_PATH)/scripts/texi2pod.pl $< qemu.pod && \ >> - pod2man --section=1 --center=" " --release=" " qemu.pod > $@, \ >> + $(POD2MAN) --section=1 --center=" " --release=" " qemu.pod > $@, \ [] > So why does '--utf8' qualify as a common option that we specify just once in > the POD2MAN variable, but --center=" " and --release=" " don't? Maybe --release is ok here, but I don't think --center is. Because, well, --release is the same for every manpage (it corresponds to qemu release number of something of this kind), but --center may actually be used one day with different values for different manpages. Besides, this is a task for another patch, since this one "only" thing this patch does is addresses the --utf8 issue. Maybe it is so trivial that adding --release here actually does fit nicely too. I don't care either way, what matters is to fix the mojibake which currently exists in qemu.1 manpage. > Maybe we could reduce the duplication here with a makefile function? I'm not sure it is worth the extra complexity. The way it is now is more visible than a function. Just IMHO anyway. Thanks, /mjt