Commit graph

7 commits

Author SHA1 Message Date
Tony Garnock-Jones
427deb199f Use os.path.realpath to allow symlinking to install
from e.g. /opt/redo/bin into /usr/local/bin (#21)
2018-11-12 23:56:38 -05:00
Wayne Larsen
39cfdafd8a Add --version flag to redo.
Something to this effect would be useful, though I'm sure my
install.do changes are not how you'd do it.

(Slightly modified by apenwarr)
2011-01-25 23:14:18 -08:00
Avery Pennarun
fb388b3dde Automatically select a good shell instead of relying on /bin/sh.
This includes a fairly detailed test of various known shell bugs from the
autoconf docs.

The idea here is that if redo works on your system, you should be able to
rely on a *good* shell to run your .do files; you shouldn't have to work
around zillions of bugs like autoconf does.
2010-12-21 04:44:39 -08:00
Avery Pennarun
db4c4fc17a Rename redo-oob to redo-unlocked, to more accurately represent its use.
It's still undocumented.  Because you shouldn't run it by hand.  So don't!
It's dangerous!
2010-12-19 01:20:13 -08:00
Avery Pennarun
5f9b6eeaf4 install.do: stub /usr/bin programs: be smarter about finding the libdir.
We were hardcoding the absolute $LIBDIR location, which sounds smart, but not if
you're doing "make install" into a temp dir that will end up somewhere else
later.

Instead, look for ../lib/redo/ from wherever the binary is installed.
2010-12-14 02:51:44 -08:00
Avery Pennarun
f5eabe61d2 install.do: don't crash when the manpages fail to build. 2010-12-12 05:42:20 -08:00
Avery Pennarun
6e5ec95c6a Add an 'install' target.
(usable as 'make install' or 'redo install', of course)
2010-12-12 02:48:42 -08:00