diff options
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 25 |
1 files changed, 17 insertions, 8 deletions
@@ -1,14 +1,23 @@ Installing cppawk ----------------- -A cppawk installation consists of the cppawk script accompanied by -the cppawk-include directory containing the cppawk headers. -This directory is placed in the same directory as cppawk, side by side. +A cppawk installation consists of the cppawk script accompanied by the +an include directory containing the cppawk headers. -For instance, /usr/local/bin/cppawk and /usr/local/bin/cppawk-include/. +cppawk determines the directory in which it is located, calling that +directory selfdir. Then it instructs the preprocessor to look for +headers in $selfdir/../share/cppawk/include. For instance, if cppawk is +installed as /usr/local/bin/cppawk, it expects its header library to be +in the /usr/local/share/cppawk/include directory. + +Steps to install cppawk as /path/to/installation/cppawk/bin might be: # root=/path/to/installation -# install -d ${root} -# install cppawk ${root} -# cp -r cppawk-include ${root} -# chmod -R a+rX,go-w ${root} +# install -d ${root}/bin +# install -d ${root}/share/cppawk/include +# install cppawk ${root}/bin +# install share/cppawk/include/*.h ${root}/share/cppawk/include + +Historic note: originally, cppawk expected the include direcgtory +to be called cppawk-include, and to be located in the same directory +as itself. |