Merge pull request #5056 from pchote/makefile-fix
Set the modchooser version during packaging.
This commit is contained in:
2
Makefile
2
Makefile
@@ -295,7 +295,7 @@ dependencies:
|
|||||||
@ $(CP_R) thirdparty/*.dl* .
|
@ $(CP_R) thirdparty/*.dl* .
|
||||||
@ $(CP_R) thirdparty/Tao/* .
|
@ $(CP_R) thirdparty/Tao/* .
|
||||||
|
|
||||||
version: mods/ra/mod.yaml mods/cnc/mod.yaml mods/d2k/mod.yaml
|
version: mods/ra/mod.yaml mods/cnc/mod.yaml mods/d2k/mod.yaml mods/modchooser/mod.yaml
|
||||||
@for i in $? ; do \
|
@for i in $? ; do \
|
||||||
awk '{sub("Version:.*$$","Version: $(VERSION)"); print $0}' $${i} > $${i}.tmp && \
|
awk '{sub("Version:.*$$","Version: $(VERSION)"); print $0}' $${i} > $${i}.tmp && \
|
||||||
mv -f $${i}.tmp $${i} ; \
|
mv -f $${i}.tmp $${i} ; \
|
||||||
|
|||||||
Reference in New Issue
Block a user