Skip to content

Commit

Permalink
Fix 'make tools' target for ./configure
Browse files Browse the repository at this point in the history
Fix update.pl wasn't able to recompile due to path error.
  • Loading branch information
lighta committed Mar 15, 2015
1 parent bae469e commit d1eeda3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -133,3 +133,4 @@ Thumbs.db
/.idea/rathena.iml
/.idea/vcs.xml
/.idea/workspace.xml
/build/
2 changes: 1 addition & 1 deletion src/tool/Makefile.in
@@ -1,6 +1,6 @@

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_INCLUDE = -I../common/

Expand Down
1 change: 1 addition & 0 deletions tools/update.pl
Expand Up @@ -210,6 +210,7 @@ sub Main {
}

sub RunCompilation { my($sBaseDir,$sTarget) = @_;
chdir "$sBaseDir/..";
if($^O =~ "linux"){
print "Recompiling...\n";
system('./configure && make clean server');
Expand Down

0 comments on commit d1eeda3

Please sign in to comment.