From 6668459386d5609955bf047c59146cf0dfbebd9f Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Wed, 11 Apr 2007 01:43:04 +0000 Subject: [PATCH] * Makefile.am (man.stamp): Use a stamp file for now until po4a supports them internally. (all-local): Depend on man.stamp. (clean-local): Remove the man.stamp file. --- man/ChangeLog | 7 +++++++ man/Makefile.am | 7 ++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/man/ChangeLog b/man/ChangeLog index 3a5daa6c..2734ab24 100644 --- a/man/ChangeLog +++ b/man/ChangeLog @@ -1,3 +1,10 @@ +2007-04-11 Guillem Jover + + * Makefile.am (man.stamp): Use a stamp file for now until po4a + supports them internally. + (all-local): Depend on man.stamp. + (clean-local): Remove the man.stamp file. + 2007-03-26 Martin Weis * po/de.po: Fix typo ('Pakete' -> 'Dateien'). diff --git a/man/Makefile.am b/man/Makefile.am index 9a19e3fe..d730f30c 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -1,12 +1,17 @@ ## Process this file with automake to produce Makefile.in -all-local: +all-local: man.stamp + +# FIXME: Use a stamp file until po4a supports them internally. +man.stamp: po4a --no-backups --variable srcdir=$(srcdir) \ $(srcdir)/po/po4a.cfg + touch $@ clean-local: po4a --rm-backups --rm-translations --variable srcdir=$(srcdir) \ $(srcdir)/po/po4a.cfg + rm -f man.stamp # Extract the list of languages from the po4a config file. LINGUAS = $(shell sed -ne 's/^.*\[po4a_langs\] \(.*\)$$/\1/p' $(srcdir)/po/po4a.cfg) -- 2.39.5