summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorBrendan O'Dea <bod@debian.org>2012-08-24 17:02:58 +1000
committerBrendan O'Dea <bod@debian.org>2012-08-24 17:02:58 +1000
commit7aead314336b3f766bc6acf9c488ed2ba3372f14 (patch)
tree7155ad1e8bbbeefd1e01b43238d41c216e586ddb /Makefile.in
parent50647b2b3aa8981e6c796bda96bb59066b6497ab (diff)
downloadhelp2man-7aead314336b3f766bc6acf9c488ed2ba3372f14.tar.gz
Have updates to help2man.pot depend on help2man.PL rather than help2man, as
the latter now no longer reflects the change date of the source and was causing changes only to POT-Creation-Date.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 84faf44..050dfc2 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -166,9 +166,11 @@ update-po: $(srcdir)/po/$(target).pot
msgmerge -U $(srcdir)/po/$$lang.po $(srcdir)/po/$(target).pot; \
done
-$(srcdir)/po/$(target).pot: $(target) $(target).h2m.PL
+$(srcdir)/po/$(target).pot: $(srcdir)/$(target).PL $(srcdir)/$(target).h2m.PL
+ $(MAKE) $(target)
xgettext -L Perl -k_ -kN_ -cTranslators: \
- --msgid-bugs-address="Brendan O'Dea <bug-help2man@gnu.org>" -o $@ $^
+ --msgid-bugs-address="Brendan O'Dea <bug-help2man@gnu.org>" -o $@ \
+ $(target) $(srcdir)/$(target).h2m.PL
.PHONY: all clean distclean preload man msg_l10n man_l10n info dvi install \
install_base install_preload install_l10n mostlyclean realclean \