ソースを参照

* 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.

Guillem Jover 19 年 前
コミット
6668459386
共有2 個のファイルを変更した13 個の追加1 個の削除を含む
  1. 7 0
      man/ChangeLog
  2. 6 1
      man/Makefile.am

+ 7 - 0
man/ChangeLog

@@ -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>
 2007-03-26  Martin Weis  <Martin.Weis.newsadress@gmx.de>
 
 
 	* po/de.po: Fix typo ('Pakete' -> 'Dateien').
 	* po/de.po: Fix typo ('Pakete' -> 'Dateien').

+ 6 - 1
man/Makefile.am

@@ -1,12 +1,17 @@
 ## Process this file with automake to produce Makefile.in
 ## 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) \
 	po4a --no-backups --variable srcdir=$(srcdir) \
 		$(srcdir)/po/po4a.cfg
 		$(srcdir)/po/po4a.cfg
+	touch $@
 
 
 clean-local:
 clean-local:
 	po4a --rm-backups --rm-translations --variable srcdir=$(srcdir) \
 	po4a --rm-backups --rm-translations --variable srcdir=$(srcdir) \
 		$(srcdir)/po/po4a.cfg
 		$(srcdir)/po/po4a.cfg
+	rm -f man.stamp
 
 
 # Extract the list of languages from the po4a config file.
 # Extract the list of languages from the po4a config file.
 LINGUAS = $(shell sed -ne 's/^.*\[po4a_langs\] \(.*\)$$/\1/p' $(srcdir)/po/po4a.cfg)
 LINGUAS = $(shell sed -ne 's/^.*\[po4a_langs\] \(.*\)$$/\1/p' $(srcdir)/po/po4a.cfg)