Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Added install target to makefile #1

Closed
wants to merge 2 commits into from

3 participants

Ollie Armstrong PeterJCLaw Chris Kirkham
Ollie Armstrong

The makefile didn't follow standard conventions and include an 'install' target. I've added this to copy the compiled libkoki.so to /usr/lib/libkoki.so. This way the library can be installed to the system without having to run ./shell before being able to use the library.

Also I've modified the Readme to include instructions on how to install to the system.

Ollie Armstrong

Note: I am Ollie Armstrong from the Grey Matter Robotics (GMR) team and we competed in Student Robotics this year.

PeterJCLaw
Owner

Thanks for doing this & sorry we didn't look at this earlier. This repo has since moved (mostly) to using scons, so I don't think that this target adds anything useful (the SConstruct file also now has an install target).

Ollie Armstrong

Closing this off as it's been open forever and according to previous comment it isn't going to be merged.

Sorry this has been left open for so long, my bad!

Ollie Armstrong oarmstrong closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 6, 2012
  1. Ollie Armstrong

    Added install target

    oarmstrong authored
  2. Ollie Armstrong
This page is out of date. Refresh to see the latest.
Showing with 12 additions and 0 deletions.
  1. +3 −0  Makefile
  2. +9 −0 README.md
3  Makefile
View
@@ -16,6 +16,9 @@ include */include.mk
all: solib examples tests docs docs_latex bugs_html AUTHORS
+install:
+ cp lib/libkoki.so /usr/lib/libkoki.so
+
AUTHORS: tools/generate_authors
tools/generate_authors AUTHORS
9 README.md
View
@@ -17,6 +17,15 @@ On Ubuntu 11.10 and 11.04, these can be installed using:
~~~~~~~~~~~~~~~~
(sudo) $ apt-get install gcc libcv-dev libhighgui-dev libcvaux-dev libyaml-dev freeglut3-dev
~~~~~~~~~~~~~~~~
+### Building and installing
+
+To build and install the libkoki library to the system you must run the
+following commands:
+
+~~~~~~~~~~~~~~~~
+$ make
+$ sudo make install
+~~~~~~~~~~~~~~~~
### Examples
Something went wrong with that request. Please try again.