0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 13:43:04 -05:00
LibreWolf/Makefile
Bert van der Weerd 3ea59bb933
bugfixes
2021-11-19 19:07:31 +01:00

49 lines
1.2 KiB
Makefile

.PHONY : all help clean veryclean check init
version_file=./version
version:=$(shell cat $(version_file))
include assets/Makefile.includes
help :
@echo "use: make [all] [clean] [veryclean] [check] [source] [init]"
@echo ""
@echo " all - make librewolf tarball ${version} in source/ folder."
@echo " check - check if there is a new version of Firefox."
@echo ""
@echo " clean - clean everything except the upstream firefox tarball."
@echo " veryclean - clean everything and the firefox tarball."
@echo ""
@echo " init - set up local build environment, takes a long time."
clean :
make -C source clean
veryclean : # deliberately not depending on 'clean' in this case.
make -C source veryclean
#
# The 'all' target builds everything while trying to minimize
# disk space.
#
all :
make -C source all
#
# Keeping ./version up to date.
#
check :
@python3 assets/update-version.py
#
# init: run bootstrap on local machine
#
init :
wget -q "https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py"
python3 bootstrap.py --no-interactive --application-choice=browser
rm -rf bootstrap.py mozilla-unified