Improve readability of readme
authora1346054 <36859588+a1346054@users.noreply.github.com>
Fri, 22 Oct 2021 18:12:13 +0000 (18:12 +0000)
committerColin Clark <colin.clark@cclark.uk>
Mon, 1 Nov 2021 10:38:15 +0000 (10:38 +0000)
Additionally makes it easier to copy commands to terminal.

appimages/README.md

index 778ecb7..2a27223 100644 (file)
@@ -2,46 +2,59 @@
 
 ## Download the required tools:
 
-Download the `linuxdeploy` tool. At the time of writing, this is:  
-
-`wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage`
-
+Download the `linuxdeploy` tool. At the time of writing, this is:
+```sh
+wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
+```
 
 Move this file to `$HOME/bin` or somewhere else in your `$PATH` and make executable.
 
-
 ## Generate the executable
 
-`cd <your working area>`
-
-Download Geeqie sources:  
-`git clone git://www.geeqie.org/geeqie.git`  
-`cd geeqie`  
-
-If a run has already been made, remove any existing targets:  
-`rm -r  <target dir>/AppDir`  
-`sudo rm -rf doc/html`  
-
-Create a fresh target directory:  
-`mkdir <target dir>/AppDir`
-
-Generate the Geeqie executable:  
-`sudo make maintainer-clean`  
-`./autogen.sh --prefix="/usr/"`  
-`make -j`  
-`make install DESTDIR=<full path to target dir>/AppDir`  
+```sh
+cd <your working area>
+```
+
+Download Geeqie sources:
+```sh
+git clone git://www.geeqie.org/geeqie.git
+cd geeqie
+```
+
+If a run has already been made, remove any existing targets:
+```sh
+rm -r  <target dir>/AppDir
+sudo rm -rf doc/html
+```
+
+Create a fresh target directory:
+```sh
+mkdir <target dir>/AppDir
+```
+
+Generate the Geeqie executable:
+```sh
+sudo make maintainer-clean
+./autogen.sh --prefix="/usr/"
+make -j
+make install DESTDIR=<full path to target dir>/AppDir
+```
 
 ## Generate the AppImage
 
-`cd <target dir>`  
-`linuxdeploy-x86_64.AppImage \`  
-`--appdir ./AppDir --output appimage \`  
-`--desktop-file ./AppDir/usr/share/applications/geeqie.desktop \`  
-`--icon-file ./AppDir/usr/share/pixmaps/geeqie.png \`  
-`--executable ./AppDir/usr/bin/geeqie`  
+```sh
+cd <target dir>
+linuxdeploy-x86_64.AppImage \
+    --appdir ./AppDir --output appimage \
+    --desktop-file ./AppDir/usr/share/applications/geeqie.desktop \
+    --icon-file ./AppDir/usr/share/pixmaps/geeqie.png \
+    --executable ./AppDir/usr/bin/geeqie`
+```
 
 ## Rename AppImage
-If required, rename the AppImage executable - e.g.:  
-`mv ./Geeqie-v1.6-x86_64.AppImage $(./Geeqie-v1.6-x86_64.AppImage -v | sed 's/git//' | sed 's/-.* /-/' | sed 's/ /-v/' | sed 's/-GTK3//').AppImage`
+If required, rename the AppImage executable - e.g.:
+```sh
+mv ./Geeqie-v1.6-x86_64.AppImage $(./Geeqie-v1.6-x86_64.AppImage -v | sed 's/git//' | sed 's/-.* /-/' | sed 's/ /-v/' | sed 's/-GTK3//').AppImage
+```
 
 The script `./scripts/generate-appimage.sh` automates this process.