Permalink
Browse files

- use xsltproc instead of docbook2man

  • Loading branch information...
aschnell committed Jun 6, 2013
1 parent 3e0bca4 commit c82332aa6841541822e427b6b5e42faf37b0056b
View
@@ -130,9 +130,9 @@ AC_OUTPUT(
pam/Makefile
data/Makefile
doc/Makefile
- doc/snapper.sgml:doc/snapper.sgml.in
- doc/snapperd.sgml:doc/snapperd.sgml.in
- doc/pam_snapper.sgml:doc/pam_snapper.sgml.in
+ doc/snapper.xml:doc/snapper.xml.in
+ doc/snapperd.xml:doc/snapperd.xml.in
+ doc/pam_snapper.xml:doc/pam_snapper.xml.in
po/Makefile
testsuite-real/Makefile
testsuite-cmp/Makefile
View
@@ -1,6 +1,6 @@
-snapper.sgml
-snapperd.sgml
-pam_snapper.sgml
+snapper.xml
+snapperd.xml
+pam_snapper.xml
snapper.8
snapperd.8
pam_snapper.8
View
@@ -8,8 +8,8 @@ if HAVE_PAM
man_MANS += pam_snapper.8
endif
-.sgml.8: .sgml
- docbook2man $<
+.xml.8: .xml
+ xsltproc -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
TXTS = dbus-protocol.txt
@@ -1,5 +1,3 @@
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
-
<refentry id='pam_snapper8'>
<refentryinfo>
@@ -1,5 +1,3 @@
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
-
<refentry id='snapper8'>
<refentryinfo>
@@ -1,5 +1,3 @@
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
-
<refentry id='snapperd8'>
<refentryinfo>
View
@@ -34,11 +34,7 @@ BuildRequires: libdbus-1-devel
BuildRequires: libzypp(plugin:commit)
%endif
BuildRequires: pam-devel
-%if (0%{?suse_version} && 0%{?suse_version} >= 1220)
-BuildRequires: docbook-utils-minimal
-%else
-BuildRequires: docbook-utils
-%endif
+BuildRequires: docbook-xsl-stylesheets libxslt
Requires: libsnapper@LIBVERSION_MAJOR@ = %version
Requires: diffutils
%if 0%{?suse_version}

0 comments on commit c82332a

Please sign in to comment.