diff options
author | Brendan O'Dea <bod@debian.org> | 2014-06-28 22:48:05 +1000 |
---|---|---|
committer | Brendan O'Dea <bod@debian.org> | 2014-06-28 22:51:08 +1000 |
commit | 76ae8eb30f48318a666e061a1fd7d111feea81f4 (patch) | |
tree | e9df857de5486795255368d0e3dbb056b9eb6aa0 /Makefile.in | |
parent | 016b323f457c7230f276d4131af5def5fcd35ef7 (diff) | |
download | help2man-76ae8eb30f48318a666e061a1fd7d111feea81f4.tar.gz |
Add "missing" program from automake, and a new LOCAL_PROG_OR_MISSING autoconf
macro. Incidentally rename existing aclocal macros with LOCAL_ prefix.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/Makefile.in b/Makefile.in index 8c0da43..7dbd521 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,6 +1,6 @@ # Makefile for help2man -# Copyright (C) 2012 Free Software Foundation, Inc. +# Copyright (C) 2012, 2014 Free Software Foundation, Inc. # Copying and distribution of this file, with or without modification, # are permitted in any medium without royalty provided the copyright @@ -37,8 +37,10 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_INFO = @INSTALL_INFO@ MAKEINFO = @MAKEINFO@ -MSGFMT = @MSGFMT@ MKINSTALLDIRS = $(srcdir)/mkinstalldirs +MSGFMT = @MSGFMT@ +XGETTEXT = @XGETTEXT@ +MSGMERGE = @MSGMERGE@ target = help2man preload = bindtextdomain @@ -72,6 +74,7 @@ install_preload: install_dirs preload $(INSTALL_PROGRAM) $(preload).so $(DESTDIR)$(pkglibdir) install_l10n: install_dirs msg_l10n man_l10n + set -e; \ for lang in $(LINGUAS); \ do \ $(MKINSTALLDIRS) $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES; \ @@ -169,20 +172,21 @@ Makefile: $(srcdir)/Makefile.in ./config.status update-po: $(srcdir)/po/$(target).pot + set -e; \ for lang in $(LINGUAS); \ do \ echo -n "Updating $$lang "; \ - msgmerge -U $(srcdir)/po/$$lang.po $(srcdir)/po/$(target).pot; \ + $(MSGMERGE) -U $(srcdir)/po/$$lang.po $(srcdir)/po/$(target).pot; \ done $(srcdir)/po/$(target).pot: $(srcdir)/$(target).PL $(srcdir)/$(target).h2m.PL $(MAKE) $(target) - xgettext -L Perl -k_ -kN_ -cTranslators: \ + $(XGETTEXT) -L Perl -k_ -kN_ -cTranslators: \ --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 \ - uninstall +.PHONY: all clean distclean dvi info install install_base install_dirs install_l10n \ + install_preload maintainer-clean man man_l10n mostlyclean msg_l10n preload \ + realclean uninstall update-po .SUFFIXES: |