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

Updated README.md.in

This commit is contained in:
Bert van der Weerd 2021-12-29 06:17:59 +01:00
parent 390948efe3
commit 5b256d7281
No known key found for this signature in database
GPG key ID: 4CFABB96ADE0F5B1
3 changed files with 11 additions and 15 deletions

View file

@ -66,7 +66,7 @@ librewolf : librewolf-$(version)
(cd librewolf-$(version) && ./mach build && ./mach package) (cd librewolf-$(version) && ./mach build && ./mach package)
README.md : README.md.in ./version ./release README.md : README.md.in ./version ./release
sed "s/__VERSION__/$(version)/g" < $< > tmp @sed "s/__VERSION__/$(version)/g" < $< > tmp
sed "s/__RELEASE__/$(release)/g" < tmp > $@ @sed "s/__RELEASE__/$(release)/g" < tmp > $@
rm -f tmp @rm -f tmp

View file

@ -13,17 +13,17 @@ Next, we create ourselves a build folder and extract the tarball.
``` ```
mkdir build mkdir build
cd build cd build
tar xf ../librewolf-$(version)-$(release).source.tar.gz tar xf ../librewolf-95.0.2-1.source.tar.gz
``` ```
Next step, if you have not done so already, you must create the build environment: Next step, if you have not done so already, you must create the build environment:
``` ```
librewolf-$(version)/lw/mozfetch.sh librewolf-95.0.2/lw/mozfetch.sh
``` ```
It takes about an hour for me to complete, but it needs to be done only once. This step might fail and cause problems. Hack a bit, and if that fails you can ask on our Gitter/matrix channel. It takes about an hour for me to complete, but it needs to be done only once. This step might fail and cause problems. Hack a bit, and if that fails you can ask on our [Gitter](https://gitter.im/librewolf-community/librewolf)/[Matrix](https://matrix.to/#/#librewolf:matrix.org) channels.
Now we're ready to actually build LibreWolf: Now we're ready to actually build LibreWolf:
``` ```
cd librewolf-$(version) cd librewolf-95.0.2
./mach build ./mach build
``` ```
Also takes me an hour. Then, we can run it: Also takes me an hour. Then, we can run it:
@ -69,8 +69,6 @@ make check
If there is a new version, it's a good time to git commit and trigger a CI build job. If there is a new version, it's a good time to git commit and trigger a CI build job.
``` ```
git commit -am v$(cat version)-$(cat release) && git push git commit -am v$(cat version)-$(cat release) && git push
# or use this, which does the same as above:
make trigger-ci
``` ```
To build the source archive: To build the source archive:
``` ```

View file

@ -13,17 +13,17 @@ Next, we create ourselves a build folder and extract the tarball.
``` ```
mkdir build mkdir build
cd build cd build
tar xf ../librewolf-$(version)-$(release).source.tar.gz tar xf ../librewolf-__VERSION__-__RELEASE__.source.tar.gz
``` ```
Next step, if you have not done so already, you must create the build environment: Next step, if you have not done so already, you must create the build environment:
``` ```
librewolf-$(version)/lw/mozfetch.sh librewolf-__VERSION__/lw/mozfetch.sh
``` ```
It takes about an hour for me to complete, but it needs to be done only once. This step might fail and cause problems. Hack a bit, and if that fails you can ask on our Gitter/matrix channel. It takes about an hour for me to complete, but it needs to be done only once. This step might fail and cause problems. Hack a bit, and if that fails you can ask on our [Gitter](https://gitter.im/librewolf-community/librewolf)/[Matrix](https://matrix.to/#/#librewolf:matrix.org) channels.
Now we're ready to actually build LibreWolf: Now we're ready to actually build LibreWolf:
``` ```
cd librewolf-$(version) cd librewolf-__VERSION__
./mach build ./mach build
``` ```
Also takes me an hour. Then, we can run it: Also takes me an hour. Then, we can run it:
@ -69,8 +69,6 @@ make check
If there is a new version, it's a good time to git commit and trigger a CI build job. If there is a new version, it's a good time to git commit and trigger a CI build job.
``` ```
git commit -am v$(cat version)-$(cat release) && git push git commit -am v$(cat version)-$(cat release) && git push
# or use this, which does the same as above:
make trigger-ci
``` ```
To build the source archive: To build the source archive:
``` ```