mirror of
https://codeberg.org/librewolf/source.git
synced 2024-12-22 13:43:04 -05:00
polish
This commit is contained in:
parent
2ab69c58a0
commit
a58ffbcbac
1 changed files with 7 additions and 3 deletions
8
Makefile
8
Makefile
|
@ -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)
|
version:=$(shell cat ./version)
|
||||||
release:=$(shell cat ./release)
|
release:=$(shell cat ./release)
|
||||||
|
@ -28,8 +28,9 @@ help :
|
||||||
@echo " veryclean - Clean everything including the firefox tarball."
|
@echo " veryclean - Clean everything including the firefox tarball."
|
||||||
@echo ""
|
@echo ""
|
||||||
@echo " bootstrap - Bootstrap the build environment."
|
@echo " bootstrap - Bootstrap the build environment."
|
||||||
|
@echo " setup-wasi - Setup WASM sandbox libraries (required on Linux)."
|
||||||
@echo ""
|
@echo ""
|
||||||
@echo " build - Build LibreWolf (requires bootstraped build environment)."
|
@echo " build - Build LibreWolf (requires bootstrapped build environment)."
|
||||||
@echo " package - Package LibreWolf (requires build)."
|
@echo " package - Package LibreWolf (requires build)."
|
||||||
@echo " run - Run LibreWolf (requires build)."
|
@echo " run - Run LibreWolf (requires build)."
|
||||||
@echo ""
|
@echo ""
|
||||||
|
@ -47,6 +48,7 @@ README.md : README.md.in ./version ./release
|
||||||
@sed "s/__VERSION__/$(version)/g" < $< > tmp
|
@sed "s/__VERSION__/$(version)/g" < $< > tmp
|
||||||
@sed "s/__RELEASE__/$(release)/g" < tmp > $@
|
@sed "s/__RELEASE__/$(release)/g" < tmp > $@
|
||||||
@rm -f tmp
|
@rm -f tmp
|
||||||
|
@echo "Updated README.md from README.md.in"
|
||||||
|
|
||||||
|
|
||||||
all : $(lw_source_tarball)
|
all : $(lw_source_tarball)
|
||||||
|
@ -92,6 +94,8 @@ bootstrap : $(lw_source_dir)
|
||||||
(sudo apt -y install $(debs); true)
|
(sudo apt -y install $(debs); true)
|
||||||
(sudo rpm -y install $(rpms); true)
|
(sudo rpm -y install $(rpms); true)
|
||||||
(cd $(lw_source_dir) && MOZBUILD_STATE_PATH=$$HOME/.mozbuild ./mach --no-interactive bootstrap --application-choice=browser)
|
(cd $(lw_source_dir) && MOZBUILD_STATE_PATH=$$HOME/.mozbuild ./mach --no-interactive bootstrap --application-choice=browser)
|
||||||
|
|
||||||
|
setup-wasi :
|
||||||
./scripts/setup-wasi-linux.sh
|
./scripts/setup-wasi-linux.sh
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue