]> gitweb.hhaalo.de Git - discspan.git/commitdiff
change: update readme with build option
authorBastian Dehn <hhaalo@arcor.de>
Sat, 14 Aug 2021 07:24:33 +0000 (09:24 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 14 Aug 2021 07:24:33 +0000 (09:24 +0200)
readme.md

index 447d846ad29ea82018f2c1c9c7538ab83ab46a57..4ec7f7b2b30ca02ed786181fa03e32afdcd09f37 100644 (file)
--- a/readme.md
+++ b/readme.md
@@ -2,36 +2,45 @@
 
 ## Description
 
-Discspan split a text file with data source pathes. Each output file contains
-the pathes on one media. The output file is calculate best use space on media.
-Files to big for a media is in file with number zero.
+Discspan split a text file with data source pathes. Each output file contains  
+the pathes on one media. The output file is calculate best use space on media.  
+Files to big for a media is in output file with number zero.
 
 ## Installation
 
+```bash
 mkdir build
 cd build
+
 cmake ..
+
 make
 make install
+```
 
-## Example to use
-
-1. Create a data file list:
-
-       find /pfad/zur/den/Dateien -type f > testfile
+## Options
 
-2. Execute discspan to split files on single layer DVD
+Example:
+> cmake -DBUILD_SHARED_LIBS=OFF ..
 
-       discspan -i testfile -o medium -5
+BUILD_SHARED_LIBS
+> Build a shared library default is ON
 
-3. Copy files from text file into seperated folder
+## Example to use
 
-       rsync -av --files-from=medium / /pfad/zum/wegkopieren/
+```bash
 
-       or
+# 1. Create a data file list:
+find /pfad/zur/den/Dateien -type f > testfile
 
-       cat medium | xargs -i cp -rl --parents {} /pfad/zum/wegkopieren
+# 2. Execute discspan to split files on single layer DVD
+discspan -i testfile -o medium -5
 
+# 3. Copy files from text file into seperated folder
+rsync -av --files-from=medium / /pfad/zum/wegkopieren/
+# or
+cat medium | xargs -i cp -rl --parents {} /pfad/zum/wegkopieren
+```
 
 ## Licence