git.iko.soy/typeable/pandoc
on master help sign in
Added some instructions to INSTALL about setting the PATH

for trying out pandoc and the shell scripts from the build directory. git-svn-id: https://pandoc.googlecode.com/svn/trunk@412 788f1e2b-df1e-0410-8736-df70ead52e1b

commitc85980dd0e6c0c46ca5615d86ecce6d6b3badde4 authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateThu 4 Jan 2007, 01:23 (20 years ago) parent99959b6
1 file changed+22−5
INSTALL+22−5
INSTALL+22−5
@@ -31,20 +31,37 @@ X). If you're using Windows, you can install [Cygwin].
3131
3232 make test
3333
34+ If you want to try `pandoc` before installing it (the next step),
35+ run it with a `./` prefix, as follows:
36+
37+ ./pandoc README
38+
39+ If you want to try the shell scripts (`hsmarkdown`, `html2markdown`,
40+ and `markdown2pdf`) before installing `pandoc`, you will need to set
41+ your path to include the build directory, so that the scripts will
42+ find the version of `pandoc` you have just built. So, for example:
43+
44+ PATH=$PATH:. ./html2markdown http://haskell.org
45+
34464. Install:
3547
3648 sudo make install
3749
3850 Note: This installs `pandoc`, together with its wrappers and
39− documentation, into the `/usr/local` directory. If you don't
40− have root privileges or would prefer to install `pandoc` and
41− the associated wrappers into your `~/bin` directory, type
42− this instead:
51+ documentation, into the `/usr/local` directory. If you'd rather
52+ install `pandoc` somewhere else--say, in `/opt/local`--you can
53+ set the `PREFIX` environment variable:
54+
55+ PREFIX=/opt/local sudo make install
56+
57+ If you don't have root privileges or would prefer to install
58+ `pandoc` and the associated wrappers into your `~/bin` directory,
59+ type this instead:
4360
4461 PREFIX=~ make install-exec
4562
46635. Build and install the Haskell libraries and library
47− documentation (optional):
64+ documentation (optional--for Haskell programmers only):
4865
4966 make build-all
5067 sudo make install-all