Skip to content

Commit 1e06519

Browse files
committed
docs: skip building texinfo and PDF files
The MSYS2 packages lack the infrastructure to build those. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent c6208de commit 1e06519

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

winsup/configure.ac

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,10 @@ AM_CONDITIONAL(BUILD_DOC, [test $enable_doc != "no"])
8484
AC_CHECK_PROGS([DOCBOOK2XTEXI], [docbook2x-texi db2x_docbook2texi])
8585
if test -z "$DOCBOOK2XTEXI" ; then
8686
if test "x$enable_doc" != "xno"; then
87-
AC_MSG_ERROR([docbook2texi is required to build documentation])
88-
else
89-
unset DOCBOOK2XTEXI
90-
AM_MISSING_PROG([DOCBOOK2XTEXI], [docbook2texi])
87+
AC_MSG_WARN([docbook2texi is required to build documentation])
9188
fi
89+
unset DOCBOOK2XTEXI
90+
AM_MISSING_PROG([DOCBOOK2XTEXI], [docbook2texi])
9291
fi
9392

9493
AC_CHECK_PROGS([XMLTO], [xmlto])

winsup/doc/Makefile.am

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ man1_MANS =
1010
man3_MANS =
1111
man5_MANS =
1212

13-
doc_DATA = \
14-
cygwin-ug-net/cygwin-ug-net.pdf \
15-
cygwin-api/cygwin-api.pdf
13+
doc_DATA =
1614

1715
htmldir = $(datarootdir)/doc
1816

@@ -35,8 +33,7 @@ all-local: Makefile.dep \
3533
cygwin-ug-net/cygwin-ug-net.html \
3634
faq/faq.html faq/faq.body \
3735
cygwin-ug-net/cygwin-ug-net-nochunks.html.gz \
38-
api2man.stamp intro2man.stamp utils2man.stamp \
39-
cygwin-api.info cygwin-ug-net.info
36+
api2man.stamp intro2man.stamp utils2man.stamp
4037

4138
clean-local:
4239
rm -f Makefile.dep
@@ -76,7 +73,7 @@ install-etc:
7673
@$(MKDIR_P) $(DESTDIR)$(sysconfdir)/preremove
7774
$(INSTALL_SCRIPT) $(srcdir)/etc.preremove.cygwin-doc.sh $(DESTDIR)$(sysconfdir)/preremove/cygwin-doc.sh
7875

79-
install-data-hook: install-extra-man install-html-local install-info-local install-etc
76+
install-data-hook: install-extra-man install-html-local install-etc
8077

8178
uninstall-extra-man:
8279
for i in *.1 ; do \

0 commit comments

Comments
 (0)