Fix 'make tools' target for ./configure
Fix update.pl wasn't able to recompile due to path error.
This commit is contained in:
parent
bae469e6c6
commit
d1eeda3466
1
.gitignore
vendored
1
.gitignore
vendored
@ -133,3 +133,4 @@ Thumbs.db
|
|||||||
/.idea/rathena.iml
|
/.idea/rathena.iml
|
||||||
/.idea/vcs.xml
|
/.idea/vcs.xml
|
||||||
/.idea/workspace.xml
|
/.idea/workspace.xml
|
||||||
|
/build/
|
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
COMMON_OBJ = minicore.o malloc.o showmsg.o strlib.o utils.o des.o grfio.o
|
COMMON_OBJ = minicore.o malloc.o showmsg.o strlib.o utils.o des.o grfio.o
|
||||||
COMMON_DIR_OBJ = $(COMMON_OBJ:%=../common/obj_all/%)
|
COMMON_DIR_OBJ = $(COMMON_OBJ:%=../common/obj/%)
|
||||||
COMMON_H = $(shell ls ../common/*.h)
|
COMMON_H = $(shell ls ../common/*.h)
|
||||||
COMMON_INCLUDE = -I../common/
|
COMMON_INCLUDE = -I../common/
|
||||||
|
|
||||||
|
@ -210,6 +210,7 @@ sub UpdateSQL { my($sBaseDir,$sInit,$rhFileState) = @_;
|
|||||||
}
|
}
|
||||||
|
|
||||||
sub RunCompilation { my($sBaseDir,$sTarget) = @_;
|
sub RunCompilation { my($sBaseDir,$sTarget) = @_;
|
||||||
|
chdir "$sBaseDir/..";
|
||||||
if($^O =~ "linux"){
|
if($^O =~ "linux"){
|
||||||
print "Recompiling...\n";
|
print "Recompiling...\n";
|
||||||
system('./configure && make clean server');
|
system('./configure && make clean server');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user