Commits

Jakub Wilk committed 2f4428e

doc: make the manpage title all uppercase.

Comments (0)

Files changed (2)

 name = localehelper
+uname = $(shell echo $(name) | tr a-z A-Z)
 version = $(shell head -n1 changelog | cut -d ' ' -f2 | tr -d '()')
 
 .PHONY: all
 
 %.1: %.pod changelog
 	sed -e 's/L<\([a-z_-]\+\)(\([0-9]\+\))>/B<\1>(\2)/' $(<) \
-	| pod2man --utf8 -c '' -n $* -r '$(name) $(version)' \
+	| pod2man --utf8 -c '' -n $(uname) -r '$(name) $(version)' \
 	> $(@).tmp
 	mv $(@).tmp $(@)
 
 localehelper (0.1.2) UNRELEASED; urgency=low
 
-  * Work around a pod2man bug: manual page references should be rendered in
-    bold, not in italics.
-    http://bugs.debian.org/280148
+  * Improve the manual page, as per man-pages(7) recommendations:
+    - Work around a pod2man bug: manual page references should be rendered in
+      bold, not in italics.
+      http://bugs.debian.org/280148
+    - Make the title all uppercase.
 
- -- Jakub Wilk <jwilk@jwilk.net>  Sat, 26 Jan 2013 19:14:13 +0100
+ -- Jakub Wilk <jwilk@jwilk.net>  Tue, 05 Feb 2013 00:00:59 +0100
 
 localehelper (0.1.1) unstable; urgency=low