]> sigrok.org Git - sigrok-util.git/commitdiff
sigrok-cross-mingw: pass PREFIX to sigrok-dumps install command
authorGerhard Sittig <redacted>
Sun, 2 Oct 2022 12:38:58 +0000 (14:38 +0200)
committerGerhard Sittig <redacted>
Sun, 2 Oct 2022 12:38:58 +0000 (14:38 +0200)
Catch up with recent sigrok-dumps Makefile adjustment. The DESTDIR
variable traditionally serves a different purpose. Prefer PREFIX to
specify the in-filesystem base path where share/... is located.

cross-compile/mingw/sigrok-cross-mingw

index 12c68ec1bacc5b1cac754f56fc297af2b785601c..7a2fa0484b33347fd4e8081abdd104f5d14c23ec 100755 (executable)
@@ -228,7 +228,7 @@ cd ..
 $ECHO "component sigrok-dumps ..."
 $GIT_CLONE $REPO_BASE/sigrok-dumps
 cd sigrok-dumps
-make install DESTDIR=$PREFIX/share/sigrok-dumps $V
+make install PREFIX=$PREFIX $V
 cd ..
 
 # sigrok-cli