summaryrefslogtreecommitdiff
path: root/libtextstyle/doc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2019-02-14 03:13:39 +0100
committerBruno Haible <bruno@clisp.org>2019-02-14 03:13:39 +0100
commit986b6cf600d47b67daf5f56e743c7b7d5dd36446 (patch)
treeccd660f55d882b7f3cf6ccdbfb9352d78570c73c /libtextstyle/doc
parenta42bbf190c359fada7822d05c3703374147440aa (diff)
downloadgettext-986b6cf600d47b67daf5f56e743c7b7d5dd36446.tar.gz
libtextstyle: Assume that the texinfo sources are in the source dir.
* libtextstyle/doc/Makefile.am (stamp-vti, libtextstyle.html, libtextstyle_toc.html): Lookup libunistring.texi in $(srcdir).
Diffstat (limited to 'libtextstyle/doc')
-rw-r--r--libtextstyle/doc/Makefile.am9
1 files changed, 4 insertions, 5 deletions
diff --git a/libtextstyle/doc/Makefile.am b/libtextstyle/doc/Makefile.am
index b228ee115..6af0f85b8 100644
--- a/libtextstyle/doc/Makefile.am
+++ b/libtextstyle/doc/Makefile.am
@@ -37,8 +37,7 @@ libtextstyle_TEXINFOS = gpl.texi fdl.texi
# So we have to duplicate the entire rule which would otherwise be generated
# by automake.
$(srcdir)/stamp-vti: $(info_TEXINFOS) $(libtextstyle_TEXINFOS) $(top_srcdir)/version.sh
- (dir=.; test -f ./libtextstyle.texi || dir=$(srcdir); \
- set `$(SHELL) $(top_srcdir)/build-aux/mdate-sh $$dir/libtextstyle.texi`; \
+ (set `$(SHELL) $(top_srcdir)/build-aux/mdate-sh $(srcdir)/libtextstyle.texi`; \
echo "@set UPDATED $$1 $$2 $$3"; \
echo "@set UPDATED-MONTH $$2 $$3"; \
echo "@set EDITION $(VERSION)"; \
@@ -132,14 +131,14 @@ html-split: libtextstyle_toc.html
# Override of automake's definition.
# We want to use texi2html, not makeinfo --html.
libtextstyle.html: libtextstyle.texi version.texi $(libtextstyle_TEXINFOS)
- $(TEXI2HTML) $(TEXINCLUDES) -no-sec-nav -no-menu -toc-links -number -monolithic `if test -f libtextstyle.texi; then echo libtextstyle.texi; else echo $(srcdir)/libtextstyle.texi; fi`
+ $(TEXI2HTML) $(TEXINCLUDES) -no-sec-nav -no-menu -toc-links -number -monolithic $(srcdir)/libtextstyle.texi
libtextstyle_toc.html: libtextstyle.texi version.texi $(libtextstyle_TEXINFOS)
case "@PERL@" in \
*"/missing perl") \
- $(TEXI2HTML) $(TEXINCLUDES) -no-sec-nav -no-menu -toc-links -number -split_chapter `if test -f libtextstyle.texi; then echo libtextstyle.texi; else echo $(srcdir)/libtextstyle.texi; fi` || exit 0 ;; \
+ $(TEXI2HTML) $(TEXINCLUDES) -no-sec-nav -no-menu -toc-links -number -split_chapter $(srcdir)/libtextstyle.texi || exit 0 ;; \
*) $(RM) libtextstyle_*.html ; \
- $(TEXI2HTML) $(TEXINCLUDES) -no-sec-nav -no-menu -toc-links -number -split_chapter `if test -f libtextstyle.texi; then echo libtextstyle.texi; else echo $(srcdir)/libtextstyle.texi; fi` ;; \
+ $(TEXI2HTML) $(TEXINCLUDES) -no-sec-nav -no-menu -toc-links -number -split_chapter $(srcdir)/libtextstyle.texi ;; \
esac \
&& { mv libtextstyle/libtextstyle.html libtextstyle_toc.html; \
for file in libtextstyle/*.html; do \