1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-08-29 01:49:22 +03:00

Remove --with-html-dir option

Install documentation in $(docdir).
This commit is contained in:
Nick Wellnhofer
2022-03-02 18:58:17 +01:00
parent 7458096766
commit 456a0bf6cb
4 changed files with 10 additions and 20 deletions

View File

@ -105,15 +105,6 @@ AC_ARG_WITH(history,
[ --with-history add history support to xmllint shell(off)])
AC_ARG_WITH(html,
[ --with-html add the HTML support (on)])
dnl Specific dir for HTML output ?
AC_ARG_WITH(html-dir, AS_HELP_STRING([--with-html-dir=path],
[path to base html directory, default $docdir/html]),
[HTML_DIR=$withval], [HTML_DIR='$(docdir)/html'])
AC_ARG_WITH(html-subdir, AS_HELP_STRING([--with-html-subdir=path],
[directory used under html-dir, default '']),
[test "x$withval" != "x" && HTML_DIR="$HTML_DIR/$withval"])
AC_SUBST(HTML_DIR)
AC_ARG_WITH(http,
[ --with-http add the HTTP support (on)])
AC_ARG_WITH(iconv,
@ -1476,7 +1467,6 @@ AC_SUBST(XML_LIBTOOLLIBS)
AC_SUBST(ICONV_LIBS)
AC_SUBST(ICU_LIBS)
AC_SUBST(XML_INCLUDEDIR)
AC_SUBST(HTML_DIR)
AC_SUBST(M_LIBS)
AC_SUBST(RDL_LIBS)

View File

@ -98,14 +98,14 @@ check-extra-dist:
rm -f tmp.EXTRA_DIST_wc tmp.EXTRA_DIST
install-data-local:
$(MKDIR_P) $(DESTDIR)$(HTML_DIR)/tutorial
$(MKDIR_P) $(DESTDIR)$(docdir)/tutorial
-$(INSTALL) -m 0644 $(srcdir)/tutorial/*.* \
$(DESTDIR)$(HTML_DIR)/tutorial
$(MKDIR_P) $(DESTDIR)$(HTML_DIR)/tutorial/images
$(DESTDIR)$(docdir)/tutorial
$(MKDIR_P) $(DESTDIR)$(docdir)/tutorial/images
-$(INSTALL) -m 0644 $(srcdir)/tutorial/images/*.* \
$(DESTDIR)$(HTML_DIR)/tutorial/images
$(MKDIR_P) $(DESTDIR)$(HTML_DIR)/tutorial/images/callouts
$(DESTDIR)$(docdir)/tutorial/images
$(MKDIR_P) $(DESTDIR)$(docdir)/tutorial/images/callouts
-$(INSTALL) -m 0644 $(srcdir)/tutorial/images/callouts/*.* \
$(DESTDIR)$(HTML_DIR)/tutorial/images/callouts
$(DESTDIR)$(docdir)/tutorial/images/callouts
.PHONY: rebuild

View File

@ -18,8 +18,8 @@ rebuild:
.PHONY: rebuild
install-data-local:
$(MKDIR_P) $(DESTDIR)$(HTML_DIR)/examples
-$(INSTALL) -m 0644 $(srcdir)/*.html $(srcdir)/*.c $(srcdir)/*.xml $(srcdir)/*.xsl $(srcdir)/*.res $(DESTDIR)$(HTML_DIR)/examples/
$(MKDIR_P) $(DESTDIR)$(docdir)/examples
-$(INSTALL) -m 0644 $(srcdir)/*.html $(srcdir)/*.c $(srcdir)/*.xml $(srcdir)/*.xsl $(srcdir)/*.res $(DESTDIR)$(docdir)/examples/
clean-local:
test -f Makefile.am || rm -f test?.xml

View File

@ -240,8 +240,8 @@ rebuild:
.PHONY: rebuild
install-data-local:
$(MKDIR_P) $(DESTDIR)$(HTML_DIR)/examples
-$(INSTALL) -m 0644 $(srcdir)/*.html $(srcdir)/*.c $(srcdir)/*.xml $(srcdir)/*.xsl $(srcdir)/*.res $(DESTDIR)$(HTML_DIR)/examples/
$(MKDIR_P) $(DESTDIR)$(docdir)/examples
-$(INSTALL) -m 0644 $(srcdir)/*.html $(srcdir)/*.c $(srcdir)/*.xml $(srcdir)/*.xsl $(srcdir)/*.res $(DESTDIR)$(docdir)/examples/
clean-local:
test -f Makefile.am || rm -f test?.xml