From: Kevin M. Rosenberg Date: Thu, 28 Apr 2005 16:24:53 +0000 (+0000) Subject: r10492: add more build platforms X-Git-Tag: v1.6.1~61 X-Git-Url: http://git.kpe.io/?p=uffi.git;a=commitdiff_plain;h=3a8ae109cb6d76f45ea4db7983db29d1efa839c3 r10492: add more build platforms --- diff --git a/doc/Makefile b/doc/Makefile index 175cb25..9fc14fe 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -21,24 +21,37 @@ 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.*') 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 + endif + endif + endif endif endif endif - ifndef DOCFILE_BASE DOCFILE_BASE=${DOCFILE_BASE_DEFAULT} endif diff --git a/doc/catalog-darwin.xml b/doc/catalog-darwin.xml new file mode 100644 index 0000000..0ed575f --- /dev/null +++ b/doc/catalog-darwin.xml @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/catalog-mandrake.xml b/doc/catalog-mandrake.xml new file mode 100644 index 0000000..e797700 --- /dev/null +++ b/doc/catalog-mandrake.xml @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/catalog-suse91.xml b/doc/catalog-suse91.xml new file mode 100644 index 0000000..2affd4c --- /dev/null +++ b/doc/catalog-suse91.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +