about summary refs log tree commit diff stats
path: root/README.txt
diff options
context:
space:
mode:
Diffstat (limited to 'README.txt')
-rw-r--r--README.txt18
1 files changed, 17 insertions, 1 deletions
diff --git a/README.txt b/README.txt
index 1b39cd8..fdc75a2 100644
--- a/README.txt
+++ b/README.txt
@@ -31,7 +31,7 @@ My goal with this project is:
        is the only way I can learn.
 ===============================================================================
 Build with Tup:
-    1. Modify tup.config to your needs.
+    1. Copy/Modify tup.config to your needs.
     2. Run `tup`
     3. Run ./install.sh
     4. Done
@@ -41,5 +41,21 @@ Build without Tup:
     1. Run ./build-$RELEASETYPE.sh (release if packaging, debug if debugging)
     2. Run ./install.sh
     3. Done.
+Distributing:
+    This is complicated, and depends on your platform. On most systems, the best
+    way to redistribute binaries is to use a combination of ldd and awk.
+    Example:
+        mkdir -p libs/
+        for i in $(ldd ./Pong | awk '/usr\/lib/{print $3}');
+        do
+            cp $i libs/
+        done
+    The syntax you'll have to use depends on your system, OpenBSD for example
+    stores packages in /usr/local. Not to mention this method is unreliable on
+    many linux distributions due to /lib and /usr/lib being the same
+    directory. On Windows, the libraries should be in the same directory as
+    the executable.
+
+    From there, just simply tarball or zip up the game with the libraries.
 ===============================================================================
 If you like my work and want to support me, consider donating to me on https://liberapay.com/Charadon/