diff options
-rw-r--r-- | man/oh-autobuild.1.in | 8 | ||||
-rw-r--r-- | man/oh-autoclean.1.in | 8 | ||||
-rw-r--r-- | man/oh-autoinstall.1.in | 8 | ||||
-rw-r--r-- | src/oh-autobuild.sh | 5 | ||||
-rw-r--r-- | src/oh-autoclean.sh | 5 | ||||
-rw-r--r-- | src/oh-autoinstall.sh | 5 |
6 files changed, 36 insertions, 3 deletions
diff --git a/man/oh-autobuild.1.in b/man/oh-autobuild.1.in index 136f5ba..e64b98b 100644 --- a/man/oh-autobuild.1.in +++ b/man/oh-autobuild.1.in @@ -7,6 +7,8 @@ oh-autobuild \- Automatically build a package. .SH SYNOPSIS .B oh-autobuild +.RB [ -s +.IR sourcedir ] .RB [ -S .IR buildsystem ] .RB [ -B @@ -22,6 +24,12 @@ attempts to automatically build a package. .SH OPTIONS .TP +.BI \-s \ sourcedir +Find sources in +.I sourcedir +instead of in +.IR src . +.TP .BI \-S \ buildsystem Force the use of .IR buildsystem , diff --git a/man/oh-autoclean.1.in b/man/oh-autoclean.1.in index 57fd91b..3e5dabb 100644 --- a/man/oh-autoclean.1.in +++ b/man/oh-autoclean.1.in @@ -7,6 +7,8 @@ oh-autoclean \- Automatically clean up a package's built files. .SH SYNOPSIS .B oh-autoclean +.RB [ -s +.IR sourcedir ] .RB [ -S .IR buildsystem ] .RB [ -B @@ -20,6 +22,12 @@ attempts to automatically clean up built files in the build directory. .SH OPTIONS .TP +.BI \-s \ sourcedir +Find sources in +.I sourcedir +instead of in +.IR src . +.TP .BI \-S \ buildsystem Force the use of .IR buildsystem , diff --git a/man/oh-autoinstall.1.in b/man/oh-autoinstall.1.in index cb48bf8..fbadf6a 100644 --- a/man/oh-autoinstall.1.in +++ b/man/oh-autoinstall.1.in @@ -7,6 +7,8 @@ oh-autoinstall \- Automatically install a package's data files. .SH SYNOPSIS .B oh-autoinstall +.RB [ -s +.IR sourcedir ] .RB [ -S .IR buildsystem ] .RB [ -B @@ -24,6 +26,12 @@ attempts to automatically install a package's data files. .SH OPTIONS .TP +.BI \-s \ sourcedir +Find sources in +.I sourcedir +instead of in +.IR src . +.TP .BI \-S \ buildsystem Force the use of .IR buildsystem , diff --git a/src/oh-autobuild.sh b/src/oh-autobuild.sh index 366fa09..3bf2026 100644 --- a/src/oh-autobuild.sh +++ b/src/oh-autobuild.sh @@ -27,8 +27,11 @@ main() { oh_init - while getopts 'S:B:T:' opt; do + while getopts 's:S:B:T:' opt; do case "${opt}" in + s) + oh_set_buildsystem_option 'source-dir' "${OPTARG}" + ;; S) oh_set_buildsystem_option 'build-system' "${OPTARG}" ;; diff --git a/src/oh-autoclean.sh b/src/oh-autoclean.sh index 44c99b6..f12815b 100644 --- a/src/oh-autoclean.sh +++ b/src/oh-autoclean.sh @@ -27,8 +27,11 @@ main() { oh_init - while getopts 'S:B:' opt; do + while getopts 's:S:B:' opt; do case "${opt}" in + s) + oh_set_buildsystem_option 'source-dir' "${OPTARG}" + ;; S) oh_set_buildsystem_option 'build-system' "${OPTARG}" ;; diff --git a/src/oh-autoinstall.sh b/src/oh-autoinstall.sh index 761bd03..bd4476a 100644 --- a/src/oh-autoinstall.sh +++ b/src/oh-autoinstall.sh @@ -27,8 +27,11 @@ main() { oh_init - while getopts 'S:B:d:T:' opt; do + while getopts 's:S:B:d:T:' opt; do case "${opt}" in + s) + oh_set_buildsystem_option 'source-dir' "${OPTARG}" + ;; S) oh_set_buildsystem_option 'build-system' "${OPTARG}" ;; |