Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Added install target to makefile #1

Closed
wants to merge 2 commits into from

3 participants

@oarmstrong

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.

@oarmstrong

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).

@oarmstrong

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!

@oarmstrong 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. @oarmstrong

    Added install target

    oarmstrong authored
  2. @oarmstrong
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
View
3  Makefile
@@ -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
View
9 README.md
@@ -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.