You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2011/06/05 05:25:42 UTC
svn commit: r1131581 - /incubator/mesos/trunk/Makefile.in
Author: benh
Date: Sun Jun 5 03:25:41 2011
New Revision: 1131581
URL: http://svn.apache.org/viewvc?rev=1131581&view=rev
Log:
Added make install
Modified:
incubator/mesos/trunk/Makefile.in
Modified: incubator/mesos/trunk/Makefile.in
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/Makefile.in?rev=1131581&r1=1131580&r2=1131581&view=diff
==============================================================================
--- incubator/mesos/trunk/Makefile.in (original)
+++ incubator/mesos/trunk/Makefile.in Sun Jun 5 03:25:41 2011
@@ -1,5 +1,6 @@
# Makefile.
+NEXUS_HOME = @prefix@/nexus
SHELL = '/bin/sh'
default: all
@@ -7,8 +8,20 @@ default: all
src:
$(MAKE) -C src
-install: src
- $(error unimplemented)
+install:
+ if test ! -d $(NEXUS_HOME); \
+ then mkdir $(NEXUS_HOME); \
+ fi
+ if test ! -d $(NEXUS_HOME); \
+ then mkdir $(NEXUS_HOME); \
+ fi
+ install -m 755 src/nexus-master $(NEXUS_HOME)
+ install -m 755 src/nexus-slave $(NEXUS_HOME)
+ rsync -avz src/webui $(NEXUS_HOME)
+ if test ! -d $(NEXUS_HOME)/third_party; \
+ then mkdir $(NEXUS_HOME)/third_party; \
+ fi
+ rsync -avz src/third_party/bottle-0.5.6 $(NEXUS_HOME)/third_party
uninstall:
$(error unimplemented)