openbsd-ports/textproc/libxslt/patches/patch-doc_Makefile_in
2002-07-11 17:21:41 +00:00

39 lines
1.4 KiB
Plaintext

$OpenBSD: patch-doc_Makefile_in,v 1.1 2002/07/11 17:21:42 shell Exp $
--- doc/Makefile.in.orig Sun Jul 7 04:13:40 2002
+++ doc/Makefile.in Fri Jul 12 00:53:08 2002
@@ -24,7 +24,7 @@ exec_prefix = @exec_prefix@
bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
-datadir = @datadir@
+datadir = @datadir@/doc
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
@@ -118,7 +118,7 @@ XSLT_INCLUDEDIR = @XSLT_INCLUDEDIR@
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
@@ -126,7 +126,7 @@ DOC_MAIN_SGML_FILE = libxslt.sgml
# 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
PAGES = API.html bugs.html contribs.html docs.html downloads.html \
@@ -345,7 +345,6 @@ install-data-local:
-@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 - *.1 *.html site.xsl *.gif html/*.html html/*.sgml tutorial/libxslt* libxslt-decl.txt libxslt-api.xml) | (cd $(distdir); tar xf -)