mirror of
https://codeberg.org/librewolf/source.git
synced 2025-01-03 11:20:11 -05:00
15 lines
516 B
Makefile
15 lines
516 B
Makefile
|
## 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)
|
||
|
|