X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=doc%2FMakefile;h=474bff4c5b1b0bae51fa22e0906bd2ba7a442e09;hb=6fa89a151c41d40386c8e50bb66a94e14a366b3e;hp=9fc14fe9ddca561092e159c0ebccceda5696a5db;hpb=3a8ae109cb6d76f45ea4db7983db29d1efa839c3;p=uffi.git diff --git a/doc/Makefile b/doc/Makefile index 9fc14fe..474bff4 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -8,11 +8,7 @@ # # CVS Id: $Id$ # -# This file, part of UFFI, is Copyright (c) 2002-2003 by Kevin M. Rosenberg -# -# UFFI 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. +# This file, part of UFFI, is Copyright (c) 2002-2005 by Kevin M. Rosenberg ############################################################################## DOCFILE_BASE_DEFAULT:=uffi @@ -22,6 +18,7 @@ DOCFILE_EXT_DEFAULT:=xml # Standard docfile processing DEBIAN=$(shell expr "`cat /etc/issue 2> /dev/null`" : '.*Debian.*') +UBUNTU=$(shell expr "`cat /etc/issue 2> /dev/null`" : '.*Ubuntu.*') 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.*') @@ -45,6 +42,10 @@ else else ifneq (${DARWIN},0) OS=darwin + else + ifneq (${UBUNTU},0) + OS=ubuntu + endif endif endif endif @@ -97,7 +98,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