From: Kevin M. Rosenberg Date: Fri, 8 Jul 2011 20:12:21 +0000 (-0600) Subject: Update documentation building X-Git-Tag: v2.12.0~1 X-Git-Url: http://git.kpe.io/?p=hyperobject.git;a=commitdiff_plain;h=1d5486ac8f73ac945850749ff0e3db664702b919 Update documentation building --- diff --git a/debian/changelog b/debian/changelog index bf94f5e..2a41d57 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +cl-hyperobject (2.12.0-1) unstable; urgency=low + + * New upstream + + -- Kevin M. Rosenberg Fri, 08 Jul 2011 14:05:10 -0600 + cl-hyperobject (2.11.0-3) unstable; urgency=low * Build with debhelper extension dh-lisp diff --git a/debian/control b/debian/control index 76f6b7d..ea4b450 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,7 @@ Priority: optional Maintainer: Kevin M. Rosenberg Build-Depends-Indep: dh-lisp Build-Depends: debhelper (>= 7.0.0) -Standards-Version: 3.8.2.0 +Standards-Version: 3.9.2.0 Homepage: http://hyperobject.b9.com/ Vcs-Git: git://git.b9.com/hyperobject.git Vcs-Browser: http://git.b9.com/?p=hyperobject.git diff --git a/doc/Makefile b/doc/Makefile index 8905b68..6d156c9 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,4 +1,5 @@ -############################################################################## +#!/usr/bin/make +############################################################################### # FILE IDENTIFICATION # # Name: Makefile @@ -6,14 +7,12 @@ # Programer: Kevin M. Rosenberg # Date Started: Mar 2002 # -# CVS Id: $Id$ -# -# This file, part of HYPEROBJECT, is Copyright (c) 2002-2003 by Kevin M. Rosenberg +# This file, part of HYPEROBJECT, is Copyright (c) 2002-2011 by Kevin M. Rosenberg # # HYPEROBJECT users are granted the rights to distribute and use this software # as governed by the terms of the Lisp Lesser GNU Public License # (http://opensource.franz.com/preamble.html), also known as the LLGPL. -############################################################################## +############################################################################### DOCFILE_BASE_DEFAULT:=hyperobject DOCFILE_EXT_DEFAULT:=xml @@ -21,24 +20,43 @@ DOCFILE_EXT_DEFAULT:=xml # Standard docfile processing -DEBIAN=$(shell expr "`cat /etc/issue`" : '.*Debian.*') -SUSE=$(shell expr "`cat /etc/issue`" : '.*SuSE.*') -REDHAT=$(shell expr "`cat /etc/issue`" : '.*RedHat.*') +DEBIAN=$(shell expr "`cat /etc/issue 2> /dev/null`" : '.*Debian.*') +SUSE=$(shell expr "`cat /etc/issue 2> /dev/null`" : '.*SuSE.*') +SUSE91=$(shell expr "`cat /etc/issue 2> /dev/null`" : '.*SuSE Linux 9.1.*') +REDHAT=$(shell expr "`cat /etc/issue 2> /dev/null`" : '.*Red Hat.*') +MANDRAKE=$(shell expr "`cat /etc/issue 2> /dev/null`" : '.*Mandrake.*') +DARWIN=$(shell expr "`uname -a`" : '.*Darwin.*') +UBUNTU=$(shell expr "`cat /etc/issue 2> /dev/null`" : '.*Ubuntu.*') ifneq (${DEBIAN},0) OS:=debian else - ifneq (${SUSE},0) - OS=suse - else - ifneq (${REDHAT},0) - OS=redhat + ifneq (${SUSE91},0) + OS=suse91 + else + ifneq (${SUSE},0) + OS=suse + else + ifneq (${REDHAT},0) + OS=redhat + else + ifneq (${MANDRAKE},0) + OS=mandrake + else + ifneq (${DARWIN},0) + OS=darwin + else + ifneq (${UBUNTU},0) + OS:=debian + endif + endif + endif + endif endif endif endif - ifndef DOCFILE_BASE DOCFILE_BASE=${DOCFILE_BASE_DEFAULT} endif @@ -75,7 +93,7 @@ doc: html pdf .PHONY: check check: - @echo "Operating System Detected: ${OS}" + @echo "Operating system detected: ${OS}" @$(CHECK) .PHONY: html @@ -84,7 +102,7 @@ html: html.tar.gz html.tar.gz: $(DOCFILES) Makefile @rm -rf html @mkdir html - @XML_CATALOG_FILES="$(CATALOG)" $(XSLTPROC) --stringparam chunker.output.encoding ISO-8859-1 \ + @XML_CATALOG_FILES="$(CATALOG)" $(XSLTPROC) --stringparam chunker.output.encoding UTF-8 \ --xinclude --output html/ html_chunk.xsl $(DOCFILE) @GZIP='-9' tar czf html.tar.gz html @@ -92,7 +110,7 @@ html.tar.gz: $(DOCFILES) Makefile fo: ${FOFILE} ${FOFILE}: $(DOCFILES) Makefile - @XML_CATALOG_FILES="$(CATALOG)" xsltproc --xinclude --output $(FOFILE) fo.xsl $(DOCFILE) + @XML_CATALOG_FILES="$(CATALOG)" xsltproc --xinclude --stringparam fop1.extensions 1 --output $(FOFILE) fo.xsl $(DOCFILE) .PHONY: pdf pdf: ${PDFFILE} diff --git a/doc/fo.xsl b/doc/fo.xsl index d04b2de..5cb69da 100644 --- a/doc/fo.xsl +++ b/doc/fo.xsl @@ -1,8 +1,6 @@ - - + - diff --git a/doc/html.tar.gz b/doc/html.tar.gz index 29b60e4..a6a3831 100644 Binary files a/doc/html.tar.gz and b/doc/html.tar.gz differ