]> gitweb.hhaalo.de Git - albentohandy.git/commitdiff
add production lib path
authorBastian Dehn <hhaalo@arcor.de>
Sat, 26 Sep 2026 10:28:18 +0000 (12:28 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 26 Sep 2026 10:28:18 +0000 (12:28 +0200)
Makefile
src/albentohandy

index 663672e6a2eba4fd6cb7e0cd51e51e8c425920f0..5a3586b51d8960cb2f6f9739394724a5fba79114 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@ clean:
 
 $(BUILDDIR)/$(PACKAGE)/$(BINDIR)/albentohandy:
        mkdir --parents $(@D)
-       cp $(SRCDIR)/albentohandy $(@)
+       sed 's/# LIB_PATH/LIB_PATH/' $(SRCDIR)/albentohandy > $(@)
        shellcheck $(@)
 
 $(BUILDDIR)/$(PACKAGE)/$(LIBDIR)/vorbis.sh:
index a33788c8165fc5de1cba4b922040cce449304a7c..82da2199cb188dbe4f75d05aadc97ac4afef096f 100755 (executable)
@@ -52,6 +52,7 @@ load_config()
                || errlog "directory $MUSIC_PATH does not exists" \
                || return $?
        MUSIC_PATH=$(realpath "$MUSIC_PATH")
+       # LIB_PATH="/usr/lib/albentohandy"
        LIB_PATH=${LIB_PATH:-"$scriptpath/lib"}
        OUTPUT_PATH=${OUTPUT_PATH:-"work.$$"}
 }