summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFrederic Daniel Luc Lehobey <Frederic@Lehobey.net>2008-08-07 23:15:53 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:37 +0100
commit45bc246fbb58dca5f64dbb83bebb3dd636a55bfd (patch)
tree833e8501066fb9cd936a75665812dd2d2de31d2a /Makefile
parentbb56b10384649bb97bbc42722115fa586a9b67a8 (diff)
downloadlive-build-45bc246fbb58dca5f64dbb83bebb3dd636a55bfd.zip
live-build-45bc246fbb58dca5f64dbb83bebb3dd636a55bfd.tar.gz
Added po4a support for manpages. Use case: 'make po4a'.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fb94b4f..1bfdc77 100644
--- a/Makefile
+++ b/Makefile
@@ -111,3 +111,11 @@ clean:
distclean:
reinstall: uninstall install
+
+po4a:
+ # Automatic generation of translated manpages
+ set -e; if [ $$(which po4a) ]; then \
+ cd manpages/ ; po4a po4a/live-helper.cfg; \
+ else \
+ echo "Please install po4a (http://po4a.alioth.debian.org/)."; \
+ fi;