chiark / gitweb /
bin/mdw-build: Add an option to set output-directory qualifier explicitly.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 2 Jul 2024 13:35:32 +0000 (14:35 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 2 Jul 2024 13:35:32 +0000 (14:35 +0100)
bin/mdw-build

index 0781c164b007840ff5a98ba366ed82640889c54b..a66ae68d369200e1ebe54a1cab5cf35c63358398 100755 (executable)
@@ -116,6 +116,7 @@ Build options:
   [no]test
   [no]native
   make=MAKE
   [no]test
   [no]native
   make=MAKE
+  qual=QUAL
 EOF
 }
 
 EOF
 }
 
@@ -159,6 +160,7 @@ for opt; do
     dput)      maybe_set dput dputtarget ;;
     dput=*)    dput=yes dputtarget=${opt#*=} ;;
     make=*)    make=${opt#*=} ;;
     dput)      maybe_set dput dputtarget ;;
     dput=*)    dput=yes dputtarget=${opt#*=} ;;
     make=*)    make=${opt#*=} ;;
+    qual=*)    qual=$qual$qualsep${opt#*=}; qualsep=- ;;
 
     distcheck | debian | clean | vpath | native | test)
       eval "$opt=yes"
 
     distcheck | debian | clean | vpath | native | test)
       eval "$opt=yes"