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:
parent
be4671d255
commit
c8b5bf4440
2 changed files with 15 additions and 1 deletions
11
Makefile
11
Makefile
|
@ -1,4 +1,4 @@
|
|||
.PHONY : all help clean veryclean librewolf-patches check
|
||||
.PHONY : all help clean veryclean librewolf-patches check librewolf
|
||||
|
||||
|
||||
version_file=./version
|
||||
|
@ -22,6 +22,7 @@ help :
|
|||
@echo ""
|
||||
@echo " clean - Clean everything except the upstream firefox tarball."
|
||||
@echo " veryclean - Clean everything and the firefox tarball."
|
||||
@echo " librewolf - like 'make all' but after that extract and build it."
|
||||
|
||||
|
||||
check :
|
||||
|
@ -37,6 +38,7 @@ clean :
|
|||
|
||||
veryclean : clean
|
||||
rm -f firefox-$(version).source.tar.xz
|
||||
rm -rf librewolf
|
||||
|
||||
|
||||
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)
|
||||
$(archive_create) librewolf-$(version).source$(ext) 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)
|
||||
|
|
|
@ -49,3 +49,8 @@ To build the source archive:
|
|||
```
|
||||
make all
|
||||
```
|
||||
To build librewolf, you can use:
|
||||
```
|
||||
make librewolf
|
||||
```
|
||||
this extracts the source, and then tries to `./mach build && ./mach package`.
|
||||
|
|
Loading…
Reference in a new issue