aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2000-11-13 07:20:23 +0000
committerFrederic Lepied <flepied@mandriva.com>2000-11-13 07:20:23 +0000
commitf5e85e58e5eeef867b4eda556943deeb017a42c4 (patch)
treec8bd15aa6866ed43b81635221329db33e33f396d
parentf39a8c2301dfd7ae948f9b2688a56e0081fcac1b (diff)
downloadspec-helper-f5e85e58e5eeef867b4eda556943deeb017a42c4.tar
spec-helper-f5e85e58e5eeef867b4eda556943deeb017a42c4.tar.gz
spec-helper-f5e85e58e5eeef867b4eda556943deeb017a42c4.tar.bz2
spec-helper-f5e85e58e5eeef867b4eda556943deeb017a42c4.tar.xz
spec-helper-f5e85e58e5eeef867b4eda556943deeb017a42c4.zip
call lib_symlinks
-rwxr-xr-xspec-helper5
1 files changed, 4 insertions, 1 deletions
diff --git a/spec-helper b/spec-helper
index 7a7f10e..0a21d62 100755
--- a/spec-helper
+++ b/spec-helper
@@ -19,11 +19,12 @@ export PATH
# usage
usage() {
- echo "usage: spec-helper [-l|-c|-m|-s]" 1>&2
+ echo "usage: spec-helper [-l|-c|-m|-s|-L]" 1>&2
echo "-c don't clean up files" 1>&2
echo "-m don't compress files" 1>&2
echo "-s don't strip files" 1>&2
echo "-l don't fix full link as relative." 1>&2
+ echo "-L don't build lib symlinks." 1>&2
}
# handle options
@@ -33,6 +34,7 @@ while [ $# != 0 ]; do
-m) DONT_COMPRESS=1;;
-s) DONT_STRIP=1;;
-l) DONT_RELINK=1;;
+ -L) DONT_SYMLINK_LIBS=1;;
*) usage; exit 1;;
esac
@@ -44,6 +46,7 @@ test -z "$DONT_COMPRESS" && echo -n "Compressing files..." && compress_files &&
test -z "$DONT_STRIP" && echo -n "Stripping files..." && strip_files && echo "done"
test -z "$DONT_RELINK" && echo -n "Relativisation of symlinks..." && relative_me_babe && echo "done"
test -z "$DONT_CLEAN_PERL" && echo -n "Clean perl..." && clean_perl && echo "done"
+test -z "$DONT_SYMLINK_LIBS" && echo -n "Building libraries symlinks..." && lib_symlinks && echo "done"
exit 0