Skip to content

Commit d69cb8e

Browse files
authored
Update documentation, test script and readme (#61)
1 parent 41f74bb commit d69cb8e

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

README.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -199,18 +199,20 @@ cd battery-monitor-master
199199
meson compile -C builddir --verbose
200200
meson install -C builddir
201201
```
202-
It will install all files under `/home/<yourusername>/.local`.
202+
It will install all files under `/home/<yourusername>/.local`. To **remove** the locally (`/home/<yourusername>/.local`) installed files, run:
203+
```
204+
ninja uninstall -C builddir
205+
```
203206
2. To manually install for all users:
204207
```
205208
rm -rf builddir
206209
meson setup builddir
207210
meson compile -C builddir --verbose
208211
sudo meson install -C builddir
209212
```
210-
This step requires **Administrative Privilege**. So, be careful before using this.
211-
3. To **remove** the locally (`/home/<yourusername>/.local`) installed files, run:
213+
The last step requires **Administrative Privilege**. So, be careful before using this. To **remove** the installed files, run:
212214
```
213-
ninja uninstall -C builddir
215+
sudo ninja uninstall -C builddir
214216
```
215217

216218
2. **Option 2:** Build a debian package and install it. To build a debian package on your own:
@@ -246,7 +248,7 @@ If you are interested to contribute and enrich the code, you are most welcome. Y
246248
**NB:** Using the issue template or PR template is **not** mandatory.
247249

248250
### For Developers
249-
If you want to test **Battery Monitor**,
251+
I am managing these apps all by myself during my free time. There are times when I can't contribute for months. So a little help is always welcome. If you want to test **Battery Monitor**,
250252
1. Get the source package and unzip it using:
251253
```
252254
wget https://github.com/mamolinux/battery-monitor/archive/refs/heads/master.zip

docs/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
You can adapt this file completely to your liking, but it should at least
44
contain the root `toctree` directive.
55
6-
Welcome to Battery Monitor's documentation!
6+
Welcome to Battery Monitor documentation!
77
===========================================
88

99
.. toctree::

po/POTFILES

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# List of source files containing translatable strings.
2+
# Please keep this file sorted alphabetically.
13
data/org.mamolinux.battery-monitor.gschema.xml.in
24
data/battery-monitor-autostart.desktop.in
35
data/battery-monitor.desktop.in

test/test

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
rm -rf builddir
33
meson setup -Dprefix=$HOME/.local builddir
44
meson compile -C builddir --verbose
5-
meson install -C builddir
5+
meson install -C builddir # --dry-run
66
battery-monitor -V
77
ninja uninstall -C builddir

0 commit comments

Comments
 (0)