]> err.no Git - dpkg/commitdiff
* Makefile.am (man.stamp): Use a stamp file for now until po4a
authorGuillem Jover <guillem@debian.org>
Wed, 11 Apr 2007 01:43:04 +0000 (01:43 +0000)
committerGuillem Jover <guillem@debian.org>
Wed, 11 Apr 2007 01:43:04 +0000 (01:43 +0000)
supports them internally.
(all-local): Depend on man.stamp.
(clean-local): Remove the man.stamp file.

man/ChangeLog
man/Makefile.am

index 3a5daa6cf8091f190af9c99c67fbd5deae762efc..2734ab2484299075febd0439e3285087a8c5990f 100644 (file)
@@ -1,3 +1,10 @@
+2007-04-11  Guillem Jover  <guillem@debian.org>
+
+       * 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  <Martin.Weis.newsadress@gmx.de>
 
        * po/de.po: Fix typo ('Pakete' -> 'Dateien').
index 9a19e3fe1a7a8cb744e83bebc6084237ae37edbb..d730f30c7bb3ea7e0e68acff3b3b4ae4ac646a6b 100644 (file)
@@ -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)