Przeglądaj źródła

Use $@ instead of % in the rule's command of po4a.mk as the later is not
replaced there. This fixes a FTBFS.

Guillem Jover 20 lat temu
rodzic
commit
e94917425c
2 zmienionych plików z 6 dodań i 1 usunięć
  1. 5 0
      ChangeLog
  2. 1 1
      man/po4a.mk

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2006-02-08  Guillem Jover  <guillem@debian.org>
+
+	* man/po4a.mk (%): Replace % with $@ as the former is not substituted
+	in the rule's command.
+
 2006-02-08  Guillem Jover  <guillem@debian.org>
 
 	* debian/contrl (Build-Depends): Depend on version >= 1.28-4 of

+ 1 - 1
man/po4a.mk

@@ -99,7 +99,7 @@ dist-hook: updatepo
 
 # Build the pages with an addendum
 %: $(srcdir)/%.$(lang).po $(srcdir)/../C/% $(srcdir)/%.$(lang).po.addendum
-	po4a-translate -f man -m $(srcdir)/../C/$@ -p $< -l $@ -a $(srcdir)/%.$(lang).po.addendum
+	po4a-translate -f man -m $(srcdir)/../C/$@ -p $< -l $@ -a $(srcdir)/$@.$(lang).po.addendum
 
 # Build the pages without addendum
 %: $(srcdir)/%.$(lang).po $(srcdir)/../C/%