Lines 1-4
Link Here
|
1 |
--- Makefile.orig 2016-10-18 22:32:19 UTC |
1 |
--- Makefile.orig 2017-02-04 00:51:04 UTC |
2 |
+++ Makefile |
2 |
+++ Makefile |
3 |
@@ -1,5 +1,4 @@ |
3 |
@@ -1,5 +1,4 @@ |
4 |
-CFLAGS := -g -Os |
4 |
-CFLAGS := -g -Os |
Lines 41-55
Link Here
|
41 |
|
41 |
|
42 |
# dbquery intentionally not installed by default |
42 |
# dbquery intentionally not installed by default |
43 |
install: mcelog mcelog.conf mcelog.conf.5 mcelog.triggers.5 |
43 |
install: mcelog mcelog.conf mcelog.conf.5 mcelog.triggers.5 |
44 |
@@ -82,7 +88,7 @@ depend: .depend |
|
|
45 |
|
46 |
version.tmp: FORCE |
47 |
( echo -n "char version[] = \"" ; \ |
48 |
- if type -p git >/dev/null; then \ |
49 |
+ if command -v git >/dev/null; then \ |
50 |
if [ -d .git ] ; then \ |
51 |
git describe --tags HEAD | tr -d '\n'; \ |
52 |
else \ |
53 |
@@ -98,8 +104,6 @@ version.c: version.tmp |
44 |
@@ -98,8 +104,6 @@ version.c: version.tmp |
54 |
.depend: ${SRC} |
45 |
.depend: ${SRC} |
55 |
${CC} -MM -I. ${SRC} > .depend.X && mv .depend.X .depend |
46 |
${CC} -MM -I. ${SRC} > .depend.X && mv .depend.X .depend |