Przeglądaj źródła

Fix building of sgml manpages.
Author: doogie
Date: 2003-02-02 08:05:31 GMT
Fix building of sgml manpages.

Arch Librarian 22 lat temu
rodzic
commit
b8a0f3fd99
4 zmienionych plików z 4 dodań i 11 usunięć
  1. 1 3
      buildlib/environment.mak.in
  2. 1 5
      buildlib/sgml_manpage.mak
  3. 1 2
      configure.in
  4. 1 1
      debian/control

+ 1 - 3
buildlib/environment.mak.in

@@ -29,9 +29,7 @@ DEBIANDOC_HTML = @DEBIANDOC_HTML@
 DEBIANDOC_TEXT = @DEBIANDOC_TEXT@
 
 # SGML for the man pages
-NSGMLS = @NSGMLS@
-SGMLSPL = @SGMLSPL@
-DOCBOOK2MAN := $(wildcard /usr/lib/perl5/sgmlspl-specs/docbook2man-spec.pl)
+DOCBOOK2MAN := @DOCBOOK2MAN@
 
 # Gettext settings
 GMSGFMT = @GMSGFMT@

+ 1 - 5
buildlib/sgml_manpage.mak

@@ -11,8 +11,6 @@
 # See defaults.mak for information about LOCAL
 
 # Some local definitions
-ifdef NSGMLS
-ifdef SGMLSPL
 ifdef DOCBOOK2MAN
 
 LOCAL := sgml-manpage-$(firstword $(SOURCE))
@@ -24,7 +22,7 @@ veryclean: veryclean/$(LOCAL)
 
 $($(LOCAL)-LIST) :: % : %.sgml $(INCLUDES)
 	echo Creating man page $@
-	$(NSGMLS) $< | $(SGMLSPL) $(DOCBOOK2MAN) 
+	$(DOCBOOK2MAN) $<
 
 # Clean rule
 .PHONY: veryclean/$(LOCAL)
@@ -33,8 +31,6 @@ veryclean/$(LOCAL):
 
 HAVE_SGML=yes
 endif
-endif
-endif
 
 INCLUDES :=
 

+ 1 - 2
configure.in

@@ -158,8 +158,7 @@ AC_PATH_PROG(DEBIANDOC_HTML,debiandoc2html)
 AC_PATH_PROG(DEBIANDOC_TEXT,debiandoc2text)
 
 dnl Check for the SGML tools needed to build man pages
-AC_PATH_PROG(NSGMLS,nsgmls)
-AC_PATH_PROG(SGMLSPL,sgmlspl)
+AC_PATH_PROG(DOCBOOK2MAN,docbook2man)
 
 dnl Check for YODL
 dnl AC_CHECK_PROG(YODL_MAN,yodl2man,"yes","")

+ 1 - 1
debian/control

@@ -4,7 +4,7 @@ Priority: important
 Maintainer: APT Development Team <deity@lists.debian.org>
 Uploaders: Jason Gunthorpe <jgg@debian.org>
 Standards-Version: 3.1.1
-Build-Depends: debhelper, debiandoc-sgml, libdb2-dev
+Build-Depends: debhelper, docbook-utils, libdb2-dev
 
 Package: apt
 Architecture: any