openbsd-ports/textproc/libxslt/patches/patch-doc-Makefile_in
shell 5801c1add2 Sync with libxml
- Upgrade libxslt-1.0.2
- Add patch for timezone function
2001-08-18 13:13:31 +00:00

39 lines
1.2 KiB
Plaintext

$OpenBSD: patch-doc-Makefile_in,v 1.3 2001/08/18 13:13:31 shell Exp $
--- doc/Makefile.in.orig Mon Jul 30 02:58:21 2001
+++ doc/Makefile.in Mon Jul 30 02:59:36 2001
@@ -24,7 +24,7 @@
bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
-datadir = @datadir@
+datadir = @datadir@/doc
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
@@ -99,7 +99,7 @@
XSLT_LIBDIR = @XSLT_LIBDIR@
XSLT_LIBS = @XSLT_LIBS@
-DOC_MODULE = libxslt-$(VERSION)
+DOC_MODULE = libxslt
# The top-level SGML file.
DOC_MAIN_SGML_FILE = libxslt.sgml
@@ -107,7 +107,7 @@
# The directory containing the source code (if it contains documentation).
DOC_SOURCE_DIR = ..
-HTML_DIR = @HTML_DIR@
+HTML_DIR = $(datadir)
TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)/html
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
@@ -245,7 +245,6 @@
-@INSTALL@ -m 0644 $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR)
$(mkinstalldirs) $(DESTDIR)$(TARGET_DIR)/tutorial
-@INSTALL@ -m 0644 $(srcdir)/tutorial/* $(DESTDIR)$(TARGET_DIR)/tutorial
- -(cd $(DESTDIR); gtkdoc-fixxref --module=libxslt --html-dir=$(HTML_DIR))
dist-hook:
(cd $(srcdir) ; tar cvf - *.html *.gif html/*.html html/*.sgml tutorial/libxslt*) | (cd $(distdir); tar xf -)