projects
/
platform
/
upstream
/
multipath-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b765001
)
[build] provision for custom versioning
author
Christophe Varoqui
<root@xa-s05.(none)>
Tue, 9 May 2006 21:43:27 +0000
(23:43 +0200)
committer
Christophe Varoqui
<root@xa-s05.(none)>
Tue, 9 May 2006 21:43:27 +0000
(23:43 +0200)
apply custom build/rpm versioning for multipath-tools
Brian Wong, Pillardata
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
83ae2fe
..
aacede3
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-22,7
+22,11
@@
export KRNLOBJ
BUILDDIRS = $(shell find . -mindepth 2 -name Makefile -exec dirname {} \; | grep -v ^lib)
+ifeq ($(MULTIPATH_VERSION),)
VERSION = $(shell basename ${PWD} | cut -d'-' -f3)
+else
+VERSION = $(MULTIPATH_VERSION)
+endif
all: recurse