mirror of
https://codeberg.org/librewolf/source.git
synced 2025-01-03 11:20:11 -05:00
bugfixes
This commit is contained in:
parent
9423e9db41
commit
b0676ebd2c
4 changed files with 42 additions and 9 deletions
15
Makefile
15
Makefile
|
@ -1,10 +1,9 @@
|
||||||
.PHONY : all help clean veryclean librewolf-patches check librewolf
|
.PHONY : all help clean veryclean librewolf-patches check librewolf
|
||||||
|
|
||||||
|
|
||||||
version:=$(shell cat ./version)
|
version:=$(shell cat ./version)
|
||||||
release:=$(shell cat ./release)
|
release:=$(shell cat ./release)
|
||||||
|
|
||||||
include upstream.mk
|
include assets/upstream.nightly.mk
|
||||||
|
|
||||||
## simplistic archive format selection
|
## simplistic archive format selection
|
||||||
|
|
||||||
|
@ -17,7 +16,6 @@ ext=.tar.gz
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
help : README.md
|
help : README.md
|
||||||
|
|
||||||
@echo "use: make [all] [check] [clean] [veryclean]"
|
@echo "use: make [all] [check] [clean] [veryclean]"
|
||||||
|
@ -42,15 +40,14 @@ all : librewolf-$(version)-$(release).source$(ext) README.md
|
||||||
clean :
|
clean :
|
||||||
rm -rf *~ firefox-$(version) librewolf-$(version) librewolf-$(version)-$(release).source$(ext)
|
rm -rf *~ firefox-$(version) librewolf-$(version) librewolf-$(version)-$(release).source$(ext)
|
||||||
|
|
||||||
|
|
||||||
veryclean : clean
|
veryclean : clean
|
||||||
rm -f $(upstream_filename)
|
make clean_upstream_file
|
||||||
rm -rf librewolf-$(version)
|
rm -rf librewolf-$(version)
|
||||||
|
|
||||||
librewolf-$(version)-$(release).source$(ext) : $(upstream_filename) ./version ./release scripts/librewolf-patches.py assets/mozconfig assets/patches.txt
|
librewolf-$(version)-$(release).source$(ext) : $(upstream_filename) ./version ./release scripts/librewolf-patches.py assets/mozconfig assets/patches.txt README.md
|
||||||
rm -rf $(upstream_dirname) librewolf-$(version)
|
make clean_upstream_dir
|
||||||
tar xf $(upstream_filename)
|
rm -rf librewolf-$(version)
|
||||||
mv $(upstream_dirname) librewolf-$(version)
|
make create_lw_from_upstream_dir
|
||||||
python3 scripts/librewolf-patches.py $(version)
|
python3 scripts/librewolf-patches.py $(version)
|
||||||
rm -f librewolf-$(version)-$(release).source$(ext)
|
rm -f librewolf-$(version)-$(release).source$(ext)
|
||||||
$(archive_create) librewolf-$(version)-$(release).source$(ext) librewolf-$(version)
|
$(archive_create) librewolf-$(version)-$(release).source$(ext) librewolf-$(version)
|
||||||
|
|
14
assets/upstream.nighly.mk
Normal file
14
assets/upstream.nighly.mk
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
## handle different upstreams, like developer,nightly, or distro specific upstream cases
|
||||||
|
upstream_filename=bootstrap.py
|
||||||
|
upstream_dirname=mozilla-nightly
|
||||||
|
$(upstream_filename) :
|
||||||
|
wget -q https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py
|
||||||
|
##
|
||||||
|
clean_upstream_file :
|
||||||
|
rm -f $(upstream_filename)
|
||||||
|
clean_upstream_dir :
|
||||||
|
rm -rf $(upstream_dirname)
|
||||||
|
create_lw_from_upstream_dir :
|
||||||
|
python3 bootstrap.py --no-interactive --application-choice=browser
|
||||||
|
mv $(upstream_dirname) librewolf-$(version)
|
||||||
|
|
14
assets/upstream.std.mk
Normal file
14
assets/upstream.std.mk
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
## handle different upstreams, like developer,nightly, or distro specific upstream cases
|
||||||
|
upstream_filename=firefox-$(version).source.tar.xz
|
||||||
|
upstream_dirname=firefox-$(version)
|
||||||
|
$(upstream_filename) :
|
||||||
|
wget -q https://archive.mozilla.org/pub/firefox/releases/$(version)/source/firefox-$(version).source.tar.xz
|
||||||
|
##
|
||||||
|
clean_upstream_file :
|
||||||
|
rm -f $(upstream_filename)
|
||||||
|
clean_upstream_dir :
|
||||||
|
rm -rf $(upstream_dirname)
|
||||||
|
create_lw_from_upstream_dir :
|
||||||
|
tar xf $(upstream_filename)
|
||||||
|
mv $(upstream_dirname) librewolf-$(version)
|
||||||
|
|
|
@ -4,3 +4,11 @@ upstream_dirname=firefox-$(version)
|
||||||
$(upstream_filename) :
|
$(upstream_filename) :
|
||||||
wget -q https://archive.mozilla.org/pub/firefox/releases/$(version)/source/firefox-$(version).source.tar.xz
|
wget -q https://archive.mozilla.org/pub/firefox/releases/$(version)/source/firefox-$(version).source.tar.xz
|
||||||
##
|
##
|
||||||
|
clean_upstream_file :
|
||||||
|
rm -f $(upstream_filename)
|
||||||
|
clean_upstream_dir :
|
||||||
|
rm -rf $(upstream_dirname)
|
||||||
|
create_lw_from_upstream_dir :
|
||||||
|
tar xf $(upstream_filename)
|
||||||
|
mv $(upstream_dirname) librewolf-$(version)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue