openbsd-ports/textproc/libxslt/patches/patch-doc-Makefile_in
shell eedd5522ab Sync with libxml
- Upgrade to 0.12.0
- Add RCS tag
2001-06-20 11:06:31 +00:00

39 lines
1.2 KiB
Plaintext

$OpenBSD: patch-doc-Makefile_in,v 1.2 2001/06/20 11:06:32 shell Exp $
--- doc/Makefile.in.orig Tue Jun 19 18:40:10 2001
+++ doc/Makefile.in Tue Jun 19 18:41:51 2001
@@ -24,7 +24,7 @@
bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
-datadir = @datadir@
+datadir = @datadir@/doc
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
@@ -92,7 +92,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
@@ -100,7 +100,7 @@
# The directory containing the source code (if it contains documentation).
DOC_SOURCE_DIR = ..
-HTML_DIR = $(prefix)/doc
+HTML_DIR = $(datadir)
TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)/html
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
@@ -238,7 +238,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 -)