From: Nathan Bird Date: Tue, 2 Mar 2010 17:11:06 +0000 (-0500) Subject: Building doc: recognize ubuntu as being a stand in for debian. X-Git-Tag: v5.0.5~8^2^2~6 X-Git-Url: http://git.kpe.io/?p=clsql.git;a=commitdiff_plain;h=8dd2da0415a98b39c0c3ef64a85e1c321a0f4e35;ds=sidebyside Building doc: recognize ubuntu as being a stand in for debian. --- diff --git a/doc/Makefile b/doc/Makefile index 25c1452..59a524b 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -26,6 +26,7 @@ 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) @@ -45,6 +46,10 @@ else else ifneq (${DARWIN},0) OS=darwin + else + ifneq (${UBUNTU},0) + OS:=debian + endif endif endif endif