diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/internal/slibtool_install_impl.h | 1 | ||||
-rw-r--r-- | src/logic/slbt_exec_install.c | 4 | ||||
-rw-r--r-- | src/skin/slbt_skin_install.c | 3 |
3 files changed, 8 insertions, 0 deletions
diff --git a/src/internal/slibtool_install_impl.h b/src/internal/slibtool_install_impl.h index e5741a7..86c7cfc 100644 --- a/src/internal/slibtool_install_impl.h +++ b/src/internal/slibtool_install_impl.h @@ -8,6 +8,7 @@ extern const struct argv_option slbt_install_options[]; enum install_tags { TAG_INSTALL_HELP, TAG_INSTALL_COPY, + TAG_INSTALL_FORCE, TAG_INSTALL_MKDIR, TAG_INSTALL_TARGET_MKDIR, TAG_INSTALL_STRIP, diff --git a/src/logic/slbt_exec_install.c b/src/logic/slbt_exec_install.c index e21a656..75fb263 100644 --- a/src/logic/slbt_exec_install.c +++ b/src/logic/slbt_exec_install.c @@ -599,6 +599,10 @@ int slbt_exec_install( copy = entry; break; + case TAG_INSTALL_FORCE: + *argv++ = "-f"; + break; + case TAG_INSTALL_MKDIR: *argv++ = "-d"; copy = 0; diff --git a/src/skin/slbt_skin_install.c b/src/skin/slbt_skin_install.c index 5689b02..f0d92a2 100644 --- a/src/skin/slbt_skin_install.c +++ b/src/skin/slbt_skin_install.c @@ -8,6 +8,9 @@ const struct argv_option slbt_install_options[] = { {0, 'c',TAG_INSTALL_COPY,ARGV_OPTARG_NONE,0,0,0, "copy"}, + {0, 'f',TAG_INSTALL_FORCE,ARGV_OPTARG_NONE,0,0,0, + "force copy"}, + {0, 'd',TAG_INSTALL_MKDIR,ARGV_OPTARG_NONE,0,0,0, "create directories"}, |