mirror of
https://codeberg.org/librewolf/source.git
synced 2024-12-21 21:23:08 -05:00
changes
This commit is contained in:
parent
347dca2170
commit
d73728ee15
3 changed files with 15 additions and 14 deletions
7
Makefile
7
Makefile
|
@ -3,8 +3,6 @@
|
|||
version:=$(shell cat ./version)
|
||||
release:=$(shell cat ./release)
|
||||
|
||||
include assets/upstream.nightly.mk
|
||||
|
||||
## simplistic archive format selection
|
||||
|
||||
#archive_create=tar cfJ
|
||||
|
@ -15,7 +13,6 @@ ext=.tar.gz
|
|||
#ext=.zip
|
||||
|
||||
|
||||
|
||||
help : README.md
|
||||
|
||||
@echo "use: make [all] [check] [clean] [veryclean]"
|
||||
|
@ -34,6 +31,10 @@ check : README.md
|
|||
@echo "Current release:" $$(cat ./release)
|
||||
@make --no-print-directory -q README.md
|
||||
|
||||
|
||||
include upstream.mk
|
||||
|
||||
|
||||
all : librewolf-$(version)-$(release).source$(ext) README.md
|
||||
|
||||
|
||||
|
|
|
@ -1,14 +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=bootstrap.py
|
||||
upstream_dirname=mozilla-nightly
|
||||
$(upstream_filename) :
|
||||
wget -q https://archive.mozilla.org/pub/firefox/releases/$(version)/source/firefox-$(version).source.tar.xz
|
||||
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 :
|
||||
tar xf $(upstream_filename)
|
||||
python3 bootstrap.py --no-interactive --application-choice=browser
|
||||
mv $(upstream_dirname) librewolf-$(version)
|
||||
|
|
@ -1,14 +1,14 @@
|
|||
## handle different upstreams, like developer,nightly, or distro specific upstream cases
|
||||
upstream_filename=bootstrap.py
|
||||
upstream_dirname=mozilla-nightly
|
||||
upstream_filename=mozilla-unified
|
||||
upstream_dirname=mozilla-unified
|
||||
$(upstream_filename) :
|
||||
wget -q https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py
|
||||
hg clone https://hg.mozilla.org/mozilla-unified
|
||||
(cd mozilla-unified && hg update)
|
||||
##
|
||||
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)
|
||||
(cd mozilla-unified && hg pull)
|
||||
(cd mozilla-unified && hg update)
|
||||
cp -r $(upstream_dirname) librewolf-$(version)
|
||||
|
||||
|
|
Loading…
Reference in a new issue