X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=doc%2FMakefile;h=b5fad228f3efd312e6131367e27a29016480cabd;hb=3a618201c9f2370bb8784217a866d000371769e5;hp=0f4e6d141ac277b3f18366ed81e7c0a3f8cea179;hpb=ed3548e511950b0d9a08107be33836897bb95342;p=sbcl.git diff --git a/doc/Makefile b/doc/Makefile index 0f4e6d1..b5fad22 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,17 +1,25 @@ # Makefile for SBCL document generation +# This file is part of the SBCL system. It was copied from UFFI and +# placed into the public domain by the original author, Kevin +# Rosenberg. + DOCFILE_BASE_DEFAULT:=user-manual DOCFILE_EXT_DEFAULT:=xml -# Standard docfile processing as copied from UFFI -# Placed into public domain by author Kevin Rosenberg - SYSTEM:=$(shell uname) ifeq ($(SYSTEM),Linux) ifneq ($(shell expr "`cat /etc/issue`" : '.*Debian.*'),0) - OS:=debian + # Old Debian used /usr/share/sgml/docbook, new Debian uses + # /usr/share/xml/docbook. + ifneq ($(shell expr "`ls -d /usr/share/xml`" : '.*/usr/share/xml.*'),0) + OS:=debian else + # Evidently it's not a new-style Debian DocBook setup, ergo: + OS:=debian-old + endif + else ifneq ($(shell expr "`cat /etc/issue`" : '.*SuSE.*'),0) OS=suse else