0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 13:43:04 -05:00

added make librewolf target

This commit is contained in:
Bert van der Weerd 2021-11-21 10:23:21 +01:00
parent be4671d255
commit c8b5bf4440
No known key found for this signature in database
GPG key ID: 4CFABB96ADE0F5B1
2 changed files with 15 additions and 1 deletions

View file

@ -1,4 +1,4 @@
.PHONY : all help clean veryclean librewolf-patches check .PHONY : all help clean veryclean librewolf-patches check librewolf
version_file=./version version_file=./version
@ -22,6 +22,7 @@ help :
@echo "" @echo ""
@echo " clean - Clean everything except the upstream firefox tarball." @echo " clean - Clean everything except the upstream firefox tarball."
@echo " veryclean - Clean everything and the firefox tarball." @echo " veryclean - Clean everything and the firefox tarball."
@echo " librewolf - like 'make all' but after that extract and build it."
check : check :
@ -37,6 +38,7 @@ clean :
veryclean : clean veryclean : clean
rm -f firefox-$(version).source.tar.xz rm -f firefox-$(version).source.tar.xz
rm -rf librewolf
firefox-$(version).source.tar.xz : firefox-$(version).source.tar.xz :
@ -58,3 +60,10 @@ librewolf-$(version).source$(ext) : firefox-$(version).source.tar.xz $(version_f
rm -f librewolf-$(version).source$(ext) rm -f librewolf-$(version).source$(ext)
$(archive_create) librewolf-$(version).source$(ext) librewolf-$(version) $(archive_create) librewolf-$(version).source$(ext) librewolf-$(version)
rm -rf librewolf-$(version) rm -rf librewolf-$(version)
librewolf : librewolf-$(version).source$(ext)
tar xf librewolf-$(version).source$(ext)
rm -rf librewolf
mv librewolf-$(version) librewolf
(cd librewolf && ./mach build && ./mach package)

View file

@ -49,3 +49,8 @@ To build the source archive:
``` ```
make all make all
``` ```
To build librewolf, you can use:
```
make librewolf
```
this extracts the source, and then tries to `./mach build && ./mach package`.