diff options
author | sabetts <sabetts> | 2004-10-07 16:36:57 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2004-10-07 16:36:57 +0000 |
commit | a4a72482a7944080c6737a436966368faa058078 (patch) | |
tree | 9805dd6ed4ac2224c73d80e85209d78e7f2d8f33 /autogen.sh | |
parent | d2db60569c8f9f2d3439edc9eee4f9330a317023 (diff) | |
download | ratpoison-a4a72482a7944080c6737a436966368faa058078.zip |
Add a -f option to forcefully create symlinks of
missing files.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1,3 +1,13 @@ #!/bin/sh -aclocal && autoheader && automake -a -c && autoconf +# usage: ./autogen.sh [-f] +# option "-f" means forcefully create symlinks for missing files +# (by default: copies are made only if necessary) + +if [ x"$1" = x-f ] + then shift ; am_opt='--force' + else am_opt='--copy' +fi + +aclocal && autoheader && automake -a $am_opt && autoconf + |