summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--config.h.in3
-rw-r--r--doc/Makefile.am4
-rw-r--r--libxslt.spec.in8
4 files changed, 12 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index a94a83ea..8210bcc1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Sep 13 15:30:01 CEST 2001 Daniel Veillard <daniel@veillard.com>
+
+ * libxslt.spec.in doc/Makefile.am: install xsltproc man page
+
Wed Sep 12 21:09:53 CEST 2001 Daniel Veillard <daniel@veillard.com>
* configure.in: preparing for 1.0.4
diff --git a/config.h.in b/config.h.in
index c780b664..3275a08f 100644
--- a/config.h.in
+++ b/config.h.in
@@ -39,9 +39,6 @@
/* Define if you have the <ansidecl.h> header file. */
#undef HAVE_ANSIDECL_H
-/* Define if you have the <dlfcn.h> header file. */
-#undef HAVE_DLFCN_H
-
/* Define if you have the <float.h> header file. */
#undef HAVE_FLOAT_H
diff --git a/doc/Makefile.am b/doc/Makefile.am
index c8da04a4..f1b850f3 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -13,6 +13,8 @@ HTML_DIR=@HTML_DIR@
TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE)/html
+man_MANS = xsltproc.1
+
scan:
gtkdoc-scan --module=libxslt --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="acconfig.h config.h win32config.h"
@@ -49,6 +51,6 @@ install-data-local:
-(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 -)
+ (cd $(srcdir) ; tar cvf - *.1 *.html *.gif html/*.html html/*.sgml tutorial/libxslt*) | (cd $(distdir); tar xf -)
.PHONY : html sgml templates scan
diff --git a/libxslt.spec.in b/libxslt.spec.in
index fabfb7cc..d52287c7 100644
--- a/libxslt.spec.in
+++ b/libxslt.spec.in
@@ -1,6 +1,7 @@
# Note that this is NOT a relocatable package
%define ver @VERSION@
%define prefix /usr
+%define datadir %{prefix}/share
Summary: Library providing the Gnome XSLT engine
Name: libxslt
@@ -69,9 +70,9 @@ fi
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/usr/man/man1
-install -d $RPM_BUILD_ROOT/usr/man/man4
-make prefix=$RPM_BUILD_ROOT%{prefix} install
+install -d $RPM_BUILD_ROOT%{datadir}/man/man1
+install -d $RPM_BUILD_ROOT%{datadir}/man/man4
+make prefix=$RPM_BUILD_ROOT%{prefix} mandir=$RPM_BUILD_ROOT%{datadir}/man install
%clean
rm -rf $RPM_BUILD_ROOT
@@ -85,6 +86,7 @@ rm -rf $RPM_BUILD_ROOT
%doc AUTHORS ChangeLog NEWS README COPYING COPYING.LIB TODO FEATURES
%doc doc/*.html doc/html doc/tutorial
+%doc %{prefix}/share/man/man1/xsltproc.1*
%{prefix}/lib/lib*.so.*
%{prefix}/bin/xsltproc