summaryrefslogtreecommitdiffstats
path: root/gettext-runtime/man
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2014-05-10 12:40:57 +0900
committerDaiki Ueno <ueno@gnu.org>2014-05-10 13:21:34 +0900
commit53c1bee1f84017a12e127174d320b3fc18b0efc7 (patch)
tree8c288df79678f2d1946133a07d59a5a9203348a3 /gettext-runtime/man
parent43e743e0f091f39f82245a2ae67661900f7c9cc4 (diff)
downloadexternal_gettext-53c1bee1f84017a12e127174d320b3fc18b0efc7.zip
external_gettext-53c1bee1f84017a12e127174d320b3fc18b0efc7.tar.gz
external_gettext-53c1bee1f84017a12e127174d320b3fc18b0efc7.tar.bz2
man: Don't depend on the binary executable
Diffstat (limited to 'gettext-runtime/man')
-rw-r--r--gettext-runtime/man/Makefile.am10
1 files changed, 6 insertions, 4 deletions
diff --git a/gettext-runtime/man/Makefile.am b/gettext-runtime/man/Makefile.am
index b91896f..0b1dabd 100644
--- a/gettext-runtime/man/Makefile.am
+++ b/gettext-runtime/man/Makefile.am
@@ -77,7 +77,9 @@ uninstall-local: uninstall-html
# Man pages.
# The progname.x files contain some extra information not found in the
-# "progname --help" output.
+# "progname --help" output. Each progname.1 depends on the source,
+# not the binary; we don't need to regenerate the binary when any
+# source file changes, only the main one.
gettext.1: gettext.1.in Makefile
sed -e 's|@''localedir''@|$(localedir)|g' < `if test -f gettext.1.in; then echo .; else echo $(srcdir); fi`/gettext.1.in > t-$@
@@ -86,12 +88,12 @@ ngettext.1: ngettext.1.in Makefile
sed -e 's|@''localedir''@|$(localedir)|g' < `if test -f ngettext.1.in; then echo .; else echo $(srcdir); fi`/ngettext.1.in > t-$@
mv t-$@ $@
-gettext.1.in: gettext.x ../src/gettext$(EXEEXT)
+gettext.1.in: gettext.x ../src/gettext.c
IN_HELP2MAN=1 $(SHELL) x-to-1 $(UPDATEMODE) "$(PERL)" "$(HELP2MAN)" ../src/gettext$(EXEEXT) $(srcdir)/gettext.x gettext.1.in
-ngettext.1.in: ngettext.x ../src/ngettext$(EXEEXT)
+ngettext.1.in: ngettext.x ../src/ngettext.c
IN_HELP2MAN=1 $(SHELL) x-to-1 $(UPDATEMODE) "$(PERL)" "$(HELP2MAN)" ../src/ngettext$(EXEEXT) $(srcdir)/ngettext.x ngettext.1.in
-envsubst.1: envsubst.x ../src/envsubst$(EXEEXT)
+envsubst.1: envsubst.x ../src/envsubst.c
$(SHELL) x-to-1 $(UPDATEMODE) "$(PERL)" "$(HELP2MAN)" ../src/envsubst$(EXEEXT) $(srcdir)/envsubst.x envsubst.1
$(man_MAN1IN) $(man_MAN1OTHER): help2man $(top_srcdir)/../.version