summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsabetts <sabetts>2004-10-07 16:36:57 +0000
committersabetts <sabetts>2004-10-07 16:36:57 +0000
commita4a72482a7944080c6737a436966368faa058078 (patch)
tree9805dd6ed4ac2224c73d80e85209d78e7f2d8f33
parentd2db60569c8f9f2d3439edc9eee4f9330a317023 (diff)
downloadratpoison-a4a72482a7944080c6737a436966368faa058078.zip
Add a -f option to forcefully create symlinks of
missing files.
-rw-r--r--AUTHORS2
-rw-r--r--ChangeLog5
-rwxr-xr-xautogen.sh12
3 files changed, 17 insertions, 2 deletions
diff --git a/AUTHORS b/AUTHORS
index af828b5..bc60299 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -27,7 +27,7 @@ Pasi Kallinen <pkalli@cs.joensuu.fi>
Rupert <rupert.debian@hotpop.com>
Tim Goodwin <tjg@star.le.ac.uk>
Joshua Neuheisel <jneuheisel@msn.com>
-Thien-Thi Nguyen <ttn@glug.org>
+Thien-Thi Nguyen <ttn@surf.glug.org>
Joshua Neuheisel <jneuheisel@msn.com>
Sylvain BEUCLER <beuc@beuc.net>
Cameron Patrick <cameron@patrick.wattle.id.au>
diff --git a/ChangeLog b/ChangeLog
index bb2bbe1..1651143 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-10-07 Shawn Betts <katia_dilkina@verizon.net>
+
+ * autogen.sh: Add a -f option to forcefully create symlinks of
+ missing files.
+
2004-10-05 Shawn Betts <katia_dilkina@verizon.net>
* src/actions.c (cmd_unsetenv): add an '=' to the string passed to
diff --git a/autogen.sh b/autogen.sh
index ac08b42..af80ec0 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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
+