Compare commits

...

2 Commits

Author SHA1 Message Date
DanyLE
10aa6ab208 fix(make): correct DESTDIR and prefix in Makefile
Some checks failed
gitea-sync/antos/pipeline/head There was a failure building this commit
2024-03-10 01:32:50 +01:00
DanyLE
73060bef3c improve: clean before building 2024-03-10 01:23:57 +01:00
2 changed files with 5 additions and 2 deletions

1
Jenkinsfile vendored
View File

@ -104,6 +104,7 @@ pipeline {
steps {
sh'''
git submodule update --init
make clean || true
'''
}
}

View File

@ -52,7 +52,7 @@ luasocket:
@echo "Building $@"
LUAV=5.4 \
LUAINC_linux=$(ROOT_DIR)/antd/silk/modules/lua/lua54/ \
LUAPREFIX_linux=$(DESTDIR) \
LUAPREFIX_linux=$(BUILD_PREFIX) \
PLAT=linux \
make -C $(ROOT_DIR)/antd/luasocket linux
LUAV=5.4 \
@ -97,7 +97,9 @@ clean:
make -C antd/luasocket clean
make -C antd/silk clean
RUSTUP_HOME=$(RUSTUP_HOME) CARGO_HOME=$(CARGO_HOME) \
. $(CARGO_HOME)/env && cargo clean --manifest-path=$(ROOT_DIR)/antd/luafcgi/Cargo.toml
. $(CARGO_HOME)/env && cargo clean \
--manifest-path=$(ROOT_DIR)/antd/luafcgi/Cargo.toml \
--config=$(ROOT_DIR)/antd/luafcgi/.cargo/config.toml
-rm -rf $(DESTDIR)/*
backend: