0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2025-01-03 11:20:11 -05:00
LibreWolf/assets/upstream.std.mk

15 lines
516 B
Makefile
Raw Permalink Normal View History

2022-01-08 15:57:39 -05:00
## 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)