0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 13:43:04 -05:00
This commit is contained in:
Bert van der Weerd 2022-02-09 13:04:18 +01:00
parent 2ab69c58a0
commit a58ffbcbac
No known key found for this signature in database
GPG key ID: 4CFABB96ADE0F5B1

View file

@ -1,4 +1,4 @@
.PHONY : help check all clean veryclean bootstrap build package run update
.PHONY : help check all clean veryclean bootstrap build package run update setup-wasi
version:=$(shell cat ./version)
release:=$(shell cat ./release)
@ -28,8 +28,9 @@ help :
@echo " veryclean - Clean everything including the firefox tarball."
@echo ""
@echo " bootstrap - Bootstrap the build environment."
@echo " setup-wasi - Setup WASM sandbox libraries (required on Linux)."
@echo ""
@echo " build - Build LibreWolf (requires bootstraped build environment)."
@echo " build - Build LibreWolf (requires bootstrapped build environment)."
@echo " package - Package LibreWolf (requires build)."
@echo " run - Run LibreWolf (requires build)."
@echo ""
@ -47,6 +48,7 @@ README.md : README.md.in ./version ./release
@sed "s/__VERSION__/$(version)/g" < $< > tmp
@sed "s/__RELEASE__/$(release)/g" < tmp > $@
@rm -f tmp
@echo "Updated README.md from README.md.in"
all : $(lw_source_tarball)
@ -92,6 +94,8 @@ bootstrap : $(lw_source_dir)
(sudo apt -y install $(debs); true)
(sudo rpm -y install $(rpms); true)
(cd $(lw_source_dir) && MOZBUILD_STATE_PATH=$$HOME/.mozbuild ./mach --no-interactive bootstrap --application-choice=browser)
setup-wasi :
./scripts/setup-wasi-linux.sh