projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0e88ee
)
Make a better debian detection
author
Christian Bayle
<cbayle@gmail.com>
Thu, 29 Oct 2009 16:31:00 +0000
(16:31 +0000)
committer
Christian Bayle
<cbayle@gmail.com>
Thu, 29 Oct 2009 16:31:00 +0000
(16:31 +0000)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index e2888e8578b5700fb88f47726736d83e979ca3c2..22e443ff1adfc5b7bf1a2891925f9a5e30d28530 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,4
+1,4
@@
-DISTDEBIAN=$(shell
grep -qi Debian /etc/issue
&& echo debian)
+DISTDEBIAN=$(shell
[ -f /etc/debian_version ]
&& echo debian)
DISTREDHAT=$(shell grep -qi 'Red Hat' /etc/issue && echo rh)
DISTSUSE=$(shell grep -qi 'SuSE' /etc/issue && echo rh)
DIST=$(DISTDEBIAN)$(DISTREDHAT)$(DISTSUSE)