Skip to content

Commit

Permalink
docs: skip building texinfo and PDF files
Browse files Browse the repository at this point in the history
The MSYS2 packages lack the infrastructure to build those.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information
dscho committed Aug 27, 2024
1 parent 715f6ce commit abeeb31
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
7 changes: 3 additions & 4 deletions winsup/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,10 @@ AM_CONDITIONAL(BUILD_DOC, [test $enable_doc != "no"])
AC_CHECK_PROGS([DOCBOOK2XTEXI], [docbook2x-texi db2x_docbook2texi])
if test -z "$DOCBOOK2XTEXI" ; then
if test "x$enable_doc" != "xno"; then
AC_MSG_ERROR([docbook2texi is required to build documentation])
else
unset DOCBOOK2XTEXI
AM_MISSING_PROG([DOCBOOK2XTEXI], [docbook2texi])
AC_MSG_WARN([docbook2texi is required to build documentation])
fi
unset DOCBOOK2XTEXI
AM_MISSING_PROG([DOCBOOK2XTEXI], [docbook2texi])
fi

AC_CHECK_PROGS([XMLTO], [xmlto])
Expand Down
9 changes: 3 additions & 6 deletions winsup/doc/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ man1_MANS =
man3_MANS =
man5_MANS =

doc_DATA = \
cygwin-ug-net/cygwin-ug-net.pdf \
cygwin-api/cygwin-api.pdf
doc_DATA =

htmldir = $(datarootdir)/doc

Expand All @@ -35,8 +33,7 @@ all-local: Makefile.dep \
cygwin-ug-net/cygwin-ug-net.html \
faq/faq.html faq/faq.body \
cygwin-ug-net/cygwin-ug-net-nochunks.html.gz \
api2man.stamp intro2man.stamp utils2man.stamp \
cygwin-api.info cygwin-ug-net.info
api2man.stamp intro2man.stamp utils2man.stamp

clean-local:
rm -f Makefile.dep
Expand Down Expand Up @@ -76,7 +73,7 @@ install-etc:
@$(MKDIR_P) $(DESTDIR)$(sysconfdir)/preremove
$(INSTALL_SCRIPT) $(srcdir)/etc.preremove.cygwin-doc.sh $(DESTDIR)$(sysconfdir)/preremove/cygwin-doc.sh

install-data-hook: install-extra-man install-html-local install-info-local install-etc
install-data-hook: install-extra-man install-html-local install-etc

uninstall-extra-man:
for i in *.1 ; do \
Expand Down

0 comments on commit abeeb31

Please sign in to comment.